Trying to make a complex event

Okay so I have been using rpg maker vx ace for about a week now. In this time I have learned how to do a lot of different things. There is one thing however that no matter what I search for online, or what I try to do on the program, I cannot figure out how to do it.

My question here is how do I make it so that a certain event goes off when you enter an area, this event allows you to choose from two of your party members. After you make your selection everyone of the opposite gender of the person you select leaves your party. I can do that, but I don't know how to make it so that at another event the members that left come back with all of the same stats, weapons, and armor on them.

All help on this is appreciated and I apologize if I don't make sense I will answer any questions that can help me get closer to my goal. Thank You
Basically you need to store which actors were in the party before you remove them. That can be done by control variable - game data (actor ID of x-th party member) or by simply turning a switch when the actors join.


An the event re-adding them, you'll need to check for each possible actor if he was added before, and if yes if he's now part of the party, and if not add him/her.


Not really complex, just tedious due to the need to check everything

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-a-complex-event.54406/