Weather control in autorun events or a better way?

So I have a switch called GotShovel and if that is on,  I want my rain to clear up.. 


outdoors only of course..  so I had this working as a conditional branch with else..


if gotshovel = on then


   weather event is off


Else


   weather even on


then set self switch a on


next page is clear on the condition self switch is on.


This only works the FIRST time and then when RE-entering a map from the inside of a building there is no more weather event


So i figured I needed to place this conditional branch on the NEXT page with self switch a on...   but that does not work either


So... how can I get an autorun event to turn weather back on again after you come back into the map from inside another map/building?


OR should I get the entire weather system plugin instead?  the orange time thing looks pretty difficult to set up... is there a better way?
Because you're using self switches.  These are permanent.


Get rid of the second page, and instead of a self switch, just do Erase Event.


And change it to parallel process instead of autorun.
THATS AWESOME!!    I saw the 2 page autorun thing on a video tutorial on how to clear autorun events and it used self-switches to teach


how to end autorun events using 2 pages 1 for the stuff and the 2nd to clear the event but honestly your way is much better.. way better. hahaha.. way.
It confused you.  Autorun events are normally used for cutscenes, where you don't want the player to be able to move around while it's happening.  You only want to run these once, so you use a self switch and a second event page conditioned by that switch, so after it runs once, it'll never run again, even if you leave the map and return.


You should never do this for "map setup" events where you're doing things like changing weather or tinting the screen - things you want to happen every time you come to the map.  Erase event stops the event repeating while you're on the map, but the next time you come to the map, it loads again and does its stuff again and erases itself again.


Parallel process events also run before the map fades in, where autorun events don't start until after the map has faded in.  So if you use autorun for the weather or tinting the screen, the player will see the map in its default state for a brief moment before your commands cause it to change.

Original thread: https://forums.rpgmakerweb.com/threads/weather-control-in-autorun-events-or-a-better-way.73922/