Triggered event for specific actor

So, I bought RPG Maker MV and re-tested it with what you mentioned above and still got the same effect with the same console listing.
The reason I gave you the script calls is that it keeps your party members in the same order after the battle.  Saving the array into a variable and then replacing the party lineup with what's in the variable works in Ace.  I can't figure out why it's not working in MV.  Every time I adjust something to get a step further, it throws another error.


Just ditch the script calls completely, and use the Change Party Member command to add each one back.  Unfortunately, whoever is in battle will be the leader, even if they weren't before the battle, and the other party members will be in the order in which you add them back.
ok, thanks for trying anyways, but i did plan on locking the leader. do you know of just removing all and then adding them all back after instead of each one being separate? cause if the player gets optional characters, that'd be a little tough for each individual.
Yeah, that was the other benefit of using the variable and just replacing the whole array.


All I can suggest is doing something like this:

Code:
Control Switches: 11-13 OFF

Conditional Branch: Therese is in the party
  Control Switches: 11 ON
  Change Party Members: Remove Therese
End

Conditional Branch: Marsha is in the party
  Control Switches: 12 ON
  Change Party Members: Remove Marsha
End

Conditional Branch: Lucius is in the party
  Control Switches: 13 ON
  Change Party Members: Remove Lucius
End


Battle Processing: Orc

Conditional Branch: Switch 11 is ON
  Change Party Members: Add Therese
End

Conditional Branch: Switch 12 is ON
  Change Party Members: Add Marsha
End

Conditional Branch: Switch 13 is ON
  Change Party Members: Add Lucius
End



Of course, use whatever switches you have available - if you make sure they're all consecutive you can turn them off in a batch rather than one by one.  And name them so you don't accidentally use them for something else later.
alright, i'll try that, thanks 🙂

Original thread: https://forums.rpgmakerweb.com/threads/triggered-event-for-specific-actor.70465/