Having trouble making a floor switch open a door

In the first event page for the floor switch, I have the image with the switch up (not stepped on yet) and a self switch "A" when it's stepped on. For event page 2, I have condition of "Self Switch A", the image is a pressed switch, and it is set to activate an "Unlock Door" switch.

For the door in question, the first page has the door closed with no events. The second page has condition "Unlock Door" switch, and the image is an open door.

When I step on the switch, it goes down so it is triggering event page 2, but the door doesn't open.

It's weird cuz I'm using the exact same logic I used to make a tile appear on the world map on talking to a character, but it isn't working here with a floor switch triggering the door tile instead of a conversation...

EDIT: Okay, I gave the switch text when I step on it to test that, but while it is pressing the switch it isn't bringing up the text. It is the exact same event logic I used to trigger another map tile changing so I am not sure what is going wrong here.
Please include uncropped screenshots of your events when asking for help with them. In the event that there is a mistake somewhere, we'd be able to see exactly what the issue is
Well, did you also turn on this door unlock switch on the first page of your button?

Edit: Before making edits to your post, just give us screenshots of your full event pages, so we can help you out, as robro suggested lol.
Screenshots attached. I swapped the door with the head of a purple lion (?) tile for now. Also now when I step on the switch, when it changes to pressed the tile goes on top of the characters. I will have to find the Switch tiles in tilsets tab I suppose...

1737046584177.png
The way you set it up is, you walk on the switch, then you have to press Enter on it to open the door.

Put your page2 lines into page1 and delete page 3. Selfswitch A is enough.
lulz that did it, thanks!
Your switch should be looking like this:
1737046968668.png

1737047091124.png

And your door like this:
1737047008578.png

1737047017381.png

There's no need for an extra self switch, since the regular switch you use for the door can just as well be used for the switch itself.
Hmm... So screenshot is what my switch event page looks like now and it's all working as I'd hoped. If I remove just the Self Switch A stuff, that makes the switch get pressed when walked on but doesn't trigger the head moving out of the way, or dialogue box. But, basically, the method in my screenshots works, so I'll just use that since it's what I've figured out now (thanks!).

Also, turns out the reason the pressed switch was on top of the character's head was because I didn't have the priority set to below characters. So that's fixed now too.

1737047528506.png
Of course it only works if you set the switch as a condition, not the self switch you're no longer using...
Okay I got your method working Harlekin 🙂 Which I am viewing as better since it doesn't use up limited self-switches, so better foundation to work on I suppose. I also found to get the textbox to show up, it had to be on the first page. But it's all good now, thanks!

The fun thing about you helping me as an "Orc Jester" is that the area this stuff is for... is called "Jester's Realm"! 🙂
Okay I got your method working Harlekin 🙂 Which I am viewing as better since it doesn't use up limited self-switches, so better foundation to work on I suppose. I also found to get the textbox to show up, it had to be on the first page. But it's all good now, thanks!

The fun thing about you helping me as an "Orc Jester" is that the area this stuff is for... is called "Jester's Realm"! 🙂
1737084957970.png


While having the self switch doesn't exactly hurt anything, it's good to try and be as efficient as you can with the eventing. May save you from future performance problems.

Original thread: https://forums.rpgmakerweb.com/threads/having-trouble-making-a-floor-switch-open-a-door.174753/