Event controls Event

Some situations I find that I need to have an event(top) just to be used as a temporary graphic, and the event(bottom) next to it is also temporary.


If I were to interact with the bottom event, to make it vanish, I want the top to vanish at the same time. I can accomplish this easy with a basic toggle switch.


The trouble comes when I have a lot of these on the same map. The toggle affects all top events too. Ideally, if interaction on a bottom could trigger a top events self switch, that would be great.


whatever.the.javaiscuziambadatit.setEventid(top event's id).switchA(on);


or if there's a plugin or work around, that would work too.


update: no sooner than I posted. I remembered I had Yanflys Self Switches & Variables. It does exactly what I needed as a plugin in addition to other needs i have for it. Problem resolved!

Original thread: https://forums.rpgmakerweb.com/threads/event-controls-event.70324/