Message When Player Faces Up Problem!

Status
Not open for further replies.

ShinyRedUmbreon

Wannabe-Animator + Gamer
Veteran
Joined
Sep 3, 2017
Messages
61
Reaction score
12
First Language
English
Primarily Uses
RMVXA

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
 

Shiro-chan

Friendly Neighbourhood Neppy Maid
Veteran
Joined
Aug 7, 2018
Messages
151
Reaction score
42
First Language
German
Primarily Uses
RMVXA
Maybe I am misunderstanding what you want to do, but why not use the "Character is facing" conditional branch instead?

It's on the third page and can be used for player characters as well as events.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,685
First Language
English
Primarily Uses
RMMZ
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.
 

ShinyRedUmbreon

Wannabe-Animator + Gamer
Veteran
Joined
Sep 3, 2017
Messages
61
Reaction score
12
First Language
English
Primarily Uses
RMVXA
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.
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
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).
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA

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.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top