I'm trying to set up an event with an action button. What I'm trying to see is if there is a way of setting an action/process to only go off when your character is pointed in an exact direction intended, eg: Character interacting with a gravestone in a graveyard. What it does now is allow me to "interact" with it no matter which direction in the square I'm facing.
Action Button Direction
RPG Maker MZ SupportTake a look at the Event Commands, Conditional Branch, Page 3, Character (Player) is facing (Direction).
This allows you to do a Conditional Branch to do something if the player is facing a specific direction.
If that doesn't help, maybe expand a bit on exactly what you want to happen to get a better explanation.
This allows you to do a Conditional Branch to do something if the player is facing a specific direction.
If that doesn't help, maybe expand a bit on exactly what you want to happen to get a better explanation.
You just add a conditional branch to check if Player is facing Up
Show textbox
Show textbox
you're coming at this from the wrong direction.
If you thought a bit about it from the other direction, you would have realised that this is a basic property of all RM engines.
An event on priority below is triggered by the actor standing on it no matter the direction.
An event on priority same as cannot have the actor on the same position, to it is only triggered when the actor stands next to it AND is facing it.
Instead of caring about the action button direction, place your event on the gravestone and everything works like you want automatically
If you thought a bit about it from the other direction, you would have realised that this is a basic property of all RM engines.
An event on priority below is triggered by the actor standing on it no matter the direction.
An event on priority same as cannot have the actor on the same position, to it is only triggered when the actor stands next to it AND is facing it.
Instead of caring about the action button direction, place your event on the gravestone and everything works like you want automatically
Honestly, not a lot of this made much sense to me as someone that is incredibly novice in RM Engines thus far. Issue #1 was that I can't assume what the program is and isn't able to do out of the box (considering how much plugin support there is) and that it wouldn't be something remedied with plugins.
Though other people have provided a perfectly reasonable answer above, I do like to learn. I'm not sure what "event on priority below" means in this manner. I'm simply using "Action Button" Triggers. How do you go about setting an "event on priority same as"?
*EDIT* Nevermind, I almost IMMEDAITELY realized the priority settings after making this comment.
That is what the build-in tutorials are for.
The engine is too complex tro expect anyone to learn everything on his/her own, but the tutorial and the help file do a very good job at teaching the basics.
Plugins arte there to change the engine to allow it things that are not supported, in the way as to make a different type of game instead of just the default type of game.
But that does NOT mean that the use of plugins is required.
Quite in the contrary, there are games that never use a single pluguin, simply because they are of the JRPG-Type that the engine was written to create.
The plugins are there because the engine is open and allows itself to be changed for different type of games (from visual novel to action-platformer), not because they are needed.
Original thread: https://forums.rpgmakerweb.com/threads/action-button-direction.156732/