I've seen some scripts that let you reset all the events on a map but i need to only reset some specific events. Is there any script wich do this or is there any function built-in for this?
Reset specific event
● ARCHIVED · READ-ONLY
-
-
What do you mean by reset?
If there's a script that resets *all* events then why not just copy it, pass it an event ID, and then run the "reset" code on the given event? -
Reseting all the self-switches from events, but you're right lol, i forgot that in order to reset all the events the'yre most likely looping through the event lists, so i'll just make my own.
Thanks. -
You just need to do this to reset a self-switch:
Code:Of course you've got to do that IN an event or script - maybe a parallel process event (which, at least in XP, run prior to autorun events - if done in an autorun event, you'll see the "current" state briefly before it resets)$game_self_switches[[mapid, eventid, 'A']] = false