I understand where you’re going with this. Could you please give me what the script would be in MV? A good portion of scripts work in both MV and MZ and if what you give me doesn’t work, I can probably convert it for MZ. The way scripts are written for MV are not substantially different from those in MZ.
EDIT: I searched in the giant script call chart that is pinned on the MZ forum section and found the script call for changing actor images on the map. It is the same in both MV and MZ:
actor.setCharacterImage(filename, index);
$gamePlayer.refresh();
What I’m struggling to figure out now is how and where to implement it.
1. no i cant, that would end, in me sitting there for hours working on rpg maker while ignoring my own todo list..
which is one of the reasons , why i dont work on rpg maker at the moment.. no offense it is and it was my own fault doing this.. i just want to make that point clear
( and at the end it would be the solution for mv, it would even not be sure if that would solve your problem in mz )
2. your
edit is wrong, $gameplayer is the cursor in srpg battlemode, and not an event
actor.setCharacterImage(filename, index);
means to change the img from the actor which is the gameplayer in that context
( and not the event..)
what you need is searching something with "setEventImage" ..
but the bigger problem is that i have no idea what script is needed to change the event trigger status,
(from parrallel to actionbutton), for that i would need to open the console and look into the events-script-structure..
i am not even sure if that would work or if it will update from the setup in the rpgmaker..
and if it doesnt work the other 3 options are:
-
using different eventpages
or
- building a script to check all events on map and avoiding scripts in the event itself..
or
edited
- checking all the battleUnit-events by their event id (which you can see in the editor, if you dont use eventspawners to add them to map), individual on each map.. to get their actor id
(that last one could be the easier solution with less knowledge)
-> its something i could solve for sure ,but not in a few minutes
(thats why i know that it can be done, but i only can point you in the direction)
3. the only advice i can give you is to search in the forum, a lot of script-question are already answered in the forum .. (search about the "setEventImage")
and the replacement for the event id (something about "this.eventId")
when you put script in the event itself, you can avoid using the exact number for event id input
example:
Using event ID in event
and to search in the srpg core for srpg scripts..
("actorToEvent" & "eventToActor") those 2 are used to get the related IDs
-> reading the srpg core is something that you cant avoid sooner or later, ..
edit (sidenote)
Spoiler
your biggest srpg related future problem will be, that as soon you learned enough about JS and read the srpg core to solve your stuff..
other people will have a lot of wishes , and ask you to solve their stuff..
i did the same thing to DrQ when i had no idea.. so i am not mad about it ^^.. lets call it carma :kaojoy:
However the good thing is that the srpg core is free, easy to read and has user friendly terms..
i would even say that it was thanks to the "easy to understand srpg-core scripts", that i was able to learn JS in the first place
(not like visuStella were you pay and get encrypted plugins and terms that dont allow anything.. thats why i would always recommend to choose srpg maker plugins ,instead of Plugins with "heavy terms".. when the time comes to make such a decision)