Accessing events from one specific direction

So I've created my first map - a log cabin interior with a loft. The loft is accessed via a ladder. There also happens to be a room behind the ladder, and I'm allowing the player to walk behind the top of walls, like this (look just above the ladder - I think this looks much better than the default behavior where the player is blocked):

ladderevent2_by_golfhacker-d8kg99q.png


My problem is that the map transition event (next to the clock, as seen below) can be accessed from not only the ladder but also the room behind the ladder. I tried putting a conditional before the transition command to make it so the player had to be facing up, but it doesn't seem to work - I can still move down onto the event from the room behind the ladder.

ladderevent_by_golfhacker-d8kg87f.png


Here's how I tried setting up the conditional:

@>Conditional Branch: Player is Facing Up @>Play SE: 'Move',80,100 @>Transfer Player:[005:Home - Loft](008,007): Branch EndI finally gave up trying and stuck a crate there to prevent the player from moving downward onto the map transition event, but I don't really like that workaround. Is there a way to make it so the player is blocked if he tries to move down onto the event but is allowed to move up?
Your problem is that the character automatically turns to face up on a ladder.  As in, the moment you approach the ladder from the top, he flips to face upwards while you would climb down the ladder.  After attempting to duplicate your problem...  That's what I'm coming up with.

My suggestion to fix it is...  Change the event to have priority "same level as characters" instead of "below characters" and it should fix the problem of not letting you try to climb the ladder from behind.  Though, it will activate the teleport a tile early... which may or may not be how you want it to work in game.

That's all I can come up with right now as a quick and easy solution.
Is the event activated when you step on it or do you need to press a button to use it?

Edit- I think I see the problem now. It's not the event it's the ladder, your character can walk down onto the ladder through the wall in guessing?

Make the bottom event same level as player and activated with touch. Then use the same conditional branch you have. Remove the top event all together.

Being the same level will prevent the player crossing the wall and the branch will ensure it only triggers from below.
The problem is stated above by Tai_MT. The best solution for this depends on how you're letting the player move underneath the floor tile. Are those simply a tile in the B-E tilesets that look like the wall tiles? If so then you can just restrict the movement on those tiles so that the player cannot move down from them.

Now that I think about it, it would be easier just to change the passability of the top of the ladder tile, and make it so the player can't move north of it. If you need the ladder to act like it currently does, you can always make a duplicate tile with the right passability for the job.

edit: or you can make the sacrifice of not being a perfectionist and simply block that tile with something the player cant walk through (like a shelf or box), which saves a lot of time and effort that can be spent elsewhere.
Tai_MT nailed it. I didn't realize the priority affected anything other than the graphic z. Sweet!

Thanks everyone!

Original thread: https://forums.rpgmakerweb.com/threads/accessing-events-from-one-specific-direction.37482/