Reset a map

This one can be hard. I do a puzle game and when user get stuck he can reset the level. But they have variable and everything to need to be store and reset.


Basicly a game over will do the same if I save before each puzzle. Im wondering if they have a equivalent way to auto save and do a gameover without starting game back.


User jsut get teleported back to the entrence with everything reset.


Thanks for your help.
I would make a parallel process common event that transports the player and sets all the switches/variables back to their original values (as well as self switches - there is a plugin called Outer Self Switches, that comes with the engine, that lets you change one event's self switches from inside a different event).  Condition it by a switch, and also turn that switch off within the common event so it doesn't keep repeating.  Then whenever you need to reset, just turn on that switch.
ok I see good idea, but I wondering if they dont have a way to do a autosave when opening the map and a gameover that just load back the level? That will be more easy if that exist.
You could do an autosave with the correct script call, but you'd need a plugin to modify the gameover behaviour.

Original thread: https://forums.rpgmakerweb.com/threads/reset-a-map.62911/