Easiest question you will ever answer...

I'm brand new to RPG Maker and trying to use a switch to force the player to check a list on the wall before they can leave the house. Here is a screenshot of the event for the list on the wall:
1687274836350.png


That should make it so they read the list and the switch goes on, right? Next screenshot is the event when they try to walk out the door:
1687274940866.png


So if the switch is on, it will transfer the player outside the house. Otherwise, the text will say they need to go check the chore list.

But when I test the game, the player is transferred outside when they step on the doorway event, whether or not they have read the chore list. I know I'm missing something very simple. Thanks in advance for helping me out!
For one thing, you would not want to give event 3 a Condition of a switch that you also check within the event commands. That's pointless.

As far as the unexpected behavior, you must be accidentally turning that switch on someplace else.

Are you using any plugins? Some of them use switches or variables and if you didn't go through their parameters to change them, they might be turning on switch 1.
what is your "doorway" event?

since you made the condition of the event above the switch, that event will not exist if the swiotch is not on.
If you are transferred, then either the transfer is a different event or something turned on that switch.
Thank you both for your replies. I think I am just too clueless to even get help on this forum, haha. As far as I know I do not have any plugins. It sounds like I don't need to use the switch as a condition because that has no effect. I thought I could have one event where the player checks the list and the switch turns on. Then another event when the player tries to leave the room, and is only able to leave if the switch is on. I will try using a tutorial on switches again and see if I figure anything out this time. Thanks again!
Rather, do a tutorial on events.

To be clear, again:
- There is nothing wrong with how you're using the switch
- You must be turning that switch on someplace else and you don't realize/remember it

The only part of what you posted that's wrong is the event Condition. Think about it logically:
- You are telling the event, "You only exist if ChoreList is ON"
- Then you say "If ChoreList is OFF, show this message about checking the list" - how can that ever happen?
Just keep in mind that condition and conditional branch are two different things for two different functions - each has its uses, but rarely you'll need both at the same time.
Make sure that you're starting a new game each time you play test, rather than loading a save. If you're loading a save that already has the switch turned on, that could explain the behavior that you're experiencing.

Also, while the game is running, if you press F9 on your keyboard, it will bring up a list of your variables and switches. You can check the current value of your switch from that screen, to verify whether or not it's already on.

Original thread: https://forums.rpgmakerweb.com/threads/easiest-question-you-will-ever-answer.158519/