Prevent Erased Events from Respawning after Save/Load

● ARCHIVED · READ-ONLY
Started by Hesufo 4 posts View original ↗
  1. Erase Event removes an event and makes it respawn if the player exits and re-enters the map. However, the removed event also respawns if the player saves and quits and then re-loads the game in the same map without exiting.

    Is there any way I can prevent this with scripting? I'm almost 100% sure I can't do it via eventing.
  2. Unless you've ran out of self-switches, I'd use them over a script.

    A self-switch will permanently prevent your event from respawing as it is included in the saves.

    If you still want your event to play when entering the map, just set the self-switch to OFF for this event in your Transfer event.
  3. Erase Event does NOT cause events to reappear if you save, exit then reload the game, UNLESS you have made changes to the project in the meantime (in which case it detects that the project has changed and causes the $game_map.setup method to run again).


    When your game is released, or when you're just playing through without stopping to make changes, this will not happen.


    If you want to prevent it, you could go to the DataManager script, find the load_game_without_rescue method, and disable the call to reload_map_if_updated. That also means any changes you've made to the current map might not appear until you leave the map and return (in which case the erased events will reappear as well).
  4. Oh wow, thanks for clarifying that, Shaz. Indeed I had run into this issue constantly but due to playtests while adjusting the game project.