Change event graphic (self-switch doesn't work HELP!!!)

Okay so I'm trying to make a window with closed blinds/curtains change event graphics to open curtains/blinds (horror genre). What I've done so far is create 3 events. The first event asks if the player wants to open the blinds. If the player says yes then Open Blind switch is turned on. The second and third events are exact copies of each other except for graphic pictures since windows are split into two graphics. I've attached pics of the script below. I've tried using a self switch and direction fix. I can't use set move route change graphic because the tileset graphic files don't appear. Any help is much appreciated 🙂


1590805862410.png

1590805892615.png
Why don't you just use the OpenBlinds Switch for the conditions on the other event page instead of doing it with self switches? I think you're over complicating things here. D:
Why don't you just use the OpenBlinds Switch for the conditions on the other event page instead of doing it with self switches? I think you're over complicating things here. D:
thx so much it worked 🙂 Out of curiosity why don't self switches work? That's what I always use.
Self switches only work if you are actively doing something with this specific event, you can't apply a self-switch to a foreign event, if that makes sense.
There are plugins that are able to do that, I often use Yanfly's Move Route Core for that to not use too many normal switches.
You could use self switches if you'd event every window itself and ask the player if he wants to open the blinds of this specific window.

I hope this makes sense. 😅
@Yegitu That plugin is for MV, and this thread is for VX Ace, so it won't work.

@Openworld It is possible to turn a self switch in another event ON or OFF with a script call. However, Yegitu is right that in this instance it is simpler to use the switch Open Blinds as you are using that already.

If you are interested, the script call is:
Code:
$game_self_switches[[map id, event id, "switch id"]]= true OR false
So if you want to turn the A self switch of event 21 on map 16 to ON, the script call would be:
Code:
$game_self_switches[[16, 21, "A"]]= true
if you want to turn it OFF, you change the true to false.

You can now see why it is simpler in this instance to use the Open Blinds switch.
Oh my god, how could I even make that mistake? 😅
Yeah, of course, I didn't play around with the VX much even though I bought that one too.
Cool that there are script calls for it though!
If you run it parallel (for the Trigger), that would also work btw.

Original thread: https://forums.rpgmakerweb.com/threads/change-event-graphic-self-switch-doesnt-work-help.122221/