Reset specific event

● ARCHIVED · READ-ONLY
Started by Gleen 4 posts View original ↗
  1. 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?
  2. 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?
  3. 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.
  4. You just need to do this to reset a self-switch:



    Code:
    $game_self_switches[[mapid, eventid, 'A']] = false
    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)