Message When Player Faces Up Problem!

taiIJQO

I have a door that the character isn't supposed to go in. Obviously the character shouldn't say that when they're in front of the door and looking to the left or right, so I put in a conditional branch that when the player presses Up on their keyboard, the message should play, the character turns so they're facing down, and the event should end, unless the player presses Up again, right?

And, most of it has worked, but when the player presses Up, the message plays 4 times before actually stopping. How do I prevent that?

picture of event
Maybe I am misunderstanding what you want to do, but why not use the "Character is facing" conditional branch instead?
dfhghgmyjvm.png

It's on the third page and can be used for player characters as well as events.
We need to see your whole event page to tell exactly what's wrong, but with what you're trying to do you should't do it like you did. Set the event trigger to "event touch", set the event priority to "same as character".

Now, depending on the door's position on the map, you just add the message "Can't go in there". But we need more info on your event and on your map to tell for sure.
I guess I should have shown the whole event page, I messed up on that, however your solution had still worked, thank you.

And Shiro-chan, although your suggestion didn't solve the problem, it was better than what I intended to do, so thanks for that.
Set the event trigger to "event touch", set the event priority to "same as character".
I would put it as "Player Touch" instead, which is basically the same, but this looks like the best option to me. It prevents the player from passing through the door and it will automatically display the message (just once) when the player interacts with the door (which means when the UP button is pressed while on the tile below the door).

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/message-when-player-faces-up-problem.111636/