Event Erasing?

     Hey all, I'm new here, and just started using RPG Maker VX Ace about a week ago.The game I'm working on will have a system of only having two party members at a time, unless specified for a particular encounter. So the current member I have would leave the party, and the one I just talked to would join. I am having trouble getting the event to erase while that member is in my party.

     Like, I have party member A with me, then I talk to party member B. A leaves, and B joins, and the event erases normally, but when I leave and come back, even though B is with me, the event spawns.

     Any help would be greatly appreciated.
The command is named a bit misleading, because erase event erases the event from current memory, but because mapfiles are read-only it will always be reloaded upon reentering a map.


To permanently disable the event, you need to use a self-switch to switch it to an empty page.


I suggest you follow the link in my signature to the "starting point" and work through the tutorials linked there - that is only one of several quirks in the engine that are easy to handle if you now them but very confusing if you aren't informed about them (like needing the first B tile to always have star passability on all tilesets and more).


I've moved this thread to Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.
Apologies on posting in the wrong forum, I wasn't exactly sure where to post. Thank you for your help.
I wouldn't use a self switch - if you're going to be able to swap between them just by talking to them, have the second, blank event page conditioned by Actor X is in the party.

Original thread: https://forums.rpgmakerweb.com/threads/event-erasing.52149/