Ending a map's events

How can I end a map's events? Example: If I have player touch events that have erase event commands at the end, and then I travel to a new map, but have the option to return to the previous map, how can I stop the possibility of those player touch events from happening again?
Erase Event only removes the event until you leave the map and return. Then they are loaded again.


If you want to permanently stop an event from reappearing, turn on a self switch at the end (instead of using Erase Event), then add a new event page conditioned by that self switch. Don't make any other changes to the new page.
As Shaz says or if you are working with multiple events then a switch rather than self switch might be more workable
Thank you that worked perfectly!
hi everyone,

im a newer user now in these past 2 and a half weeks and im stuck on this one event. i need an event as follows in newbie style explanation:

i have a church in my town and in the church there is a organ. My character Plays the organ and in the same map i want a statue to move in opposite ways to make a staircase appear that is able to transfer me to a new map


i hope i have it explained well.

best regards,
King Spartacus
I would recommend posting this as your own topic rather than hijacking someone else's.
KingSpartacus24, do not hijack other people's topics, but start your own if you have a problem

You'll need to learn how to use switches, that's in the basic tutorials - follow the link in my signature

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/ending-a-maps-events.40136/