Action Button trigger location

Hellreaper

Villager
Member
Joined
Oct 23, 2015
Messages
27
Reaction score
6
First Language
Dutch
I'm not sure if I am the only one that finds this annying but it is frustrating me a little bit that I have to do it like this.

I think it would be better if you can have the action trigger on the actual object.

Naamloos.png

That way it is easier to see what it is for, and it doesn't limit a walkable tile to trigger when stepped on.

Because there is no indicator as far as I know as of the what direction the player is facing...

If there is a plugin for that that I have missed or any piece of actual in-game option that I didn't see, 

Please do tell me. I am not sure if this goes here either but I have no idea where to put it 
 

Blue001

Veteran
Veteran
Joined
Jan 13, 2014
Messages
231
Reaction score
112
First Language
English
Primarily Uses
RMMV
Place the event on the object. Make the event start based on BUTTON PRESS, at same level as player, like usual.

Then in the first line of the event, choose...

Conditional Branch - > Page 3 -> Player Facing (chosen direction).

This will let you force the event to only run when the player is facing the event. You can expand on this to also Conditional Branch the players X,Y variables and make sure they are facing it while standing for example below, compared to facing it while standing on its right if it's a 1 sized object that you can approach from any side.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
As a "how to" question, it should go into the support forum for the engine you are using.

I shall ask for it to be moved.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
An event has a "priority".  This could be Same As Characters, Below Characters, or Above Characters.

By default, if your event has no sprite, the priority is Below Characters.

When an event has Below Characters or Above Characters priority, you have to be on the same tile as the event in order to trigger it.  When its priority is Same As Characters, you just have to be next to it and facing it.

So it's a simple matter of changing the priority of your "empty sprite" event to Same As Characters as indicated by Blue001.  Except if the event is ON the object you want to interact with, you don't need to check the player facing direction, because they would HAVE to be facing it in order to interact with it.
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

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,040
Messages
1,018,472
Members
137,822
Latest member
madelbylz
Top