How would I get an Event with a Move Route to activate it's Event Touch while in Move Route?

Thank you for any ideas or help you can provide.
To my understanding, if an event has a Move Route, it takes priority of Event/Player Touches, and won't activate them if the Move Route's end point does not equal the player's.
My question is: How would I get it to activate? I've tried a parrallel process that has a Conditional Branch that checks" $gameMap.event(n).x === $gamePlayer.x && $gameMap.event(n).y === $gamePlayer.y "(with n being the event number, to check if the event's x/y and player's x/y are the same) and the Move Route still takes priority.

To explain why, I have a puzzle system where the events move when the player moves. I need it to be when the player collides with an event, something happens. Everything works except if, for example, an event is going south and the player is going north. The player will continue going north and the event will continue going south even though they technically "collided".

Now I'm just in the brainstorming phase where I'm trying to find out if it's even possible. Would having an event on the ground (with a plugin that can change the event's colliders, to make it big so I don't have to repeat it) that has player touch active and if the player is facing the same way as the event and touches it, would it activate it? What about checking the Event's proximity and see if the player is nearby, and if so, activate another event that allows the player to go first?
I would appreciate any ideas you all have on accomplishing this, thank you.

Edit: I'm trying out Pathfinding plugins to see if they work, but so far they are making the event jump way too far ahead, even with waits. Does anyone know of a Pathfind Plugin that will add X/Y Position +1 ? Maybe that will work? Though I'm of course still up for any suggestions even if they are not Pathfinding related. ;w;

Edit 2: Pathfinding plugins don't seem to be working either as they have the same problem and their pathfinding takes priority over Event/Player Touches.
How do you have the “event moves when player moves” set up?
How do you have the “event moves when player moves” set up?
My apologies. The plugin I'm using is https://forums.rpgmakerweb.com/index.php?threads/lufiastyle-event-mover.64947/ . Though I'm willing to event it if I need to.
You can activate an event like so:
Code:
$gamePlayer.startMapEvent($gamePlayer.x, $gamePlayer.y, [2], true);
  • x: the map x coordinate to check for events;
  • y: the map y coordinate to check;
  • triggers: an array of trigger type(s) to check (0 = action button, 1 = player touch, 2 = event touch);
  • normal: if true, it'll check "Same as Characters" priority events, else it'll check the other types. This is used to make "normal" priority events be activated from an adjacent tile, since the player usually can't walk on top of these. ^_^

Here's an example of a parallel event checking if player and monster event have the same coordinates and triggering monster event.
1718589079568.png


Hopefully it works. My monster event has a move route where the monster jumps, and if the monster lands on the player the code inside the monster event gets trigger.
additionally, you might consider using autonomous movement instead of set move route.
autonomous movement intentionally allows the triggers like event touch (event moves on player) even while moving the event, althoug it has some other limitations and might not be compatible with your plugin.
You can activate an event like so:
Code:
$gamePlayer.startMapEvent($gamePlayer.x, $gamePlayer.y, [2], true);
  • x: the map x coordinate to check for events;
  • y: the map y coordinate to check;
  • triggers: an array of trigger type(s) to check (0 = action button, 1 = player touch, 2 = event touch);
  • normal: if true, it'll check "Same as Characters" priority events, else it'll check the other types. This is used to make "normal" priority events be activated from an adjacent tile, since the player usually can't walk on top of these. ^_^

Here's an example of a parallel event checking if player and monster event have the same coordinates and triggering monster event.
View attachment 308625

Hopefully it works. My monster event has a move route where the monster jumps, and if the monster lands on the player the code inside the monster event gets trigger.
Thank you so much for replying! Unfortunately though I don't want the event to trigger if the player is near it, but on top of it. I'm trying to make it to where the player has to "walk" onto an enemy with a high enough power level to defeat it. When it activates when the player is near it, the player takes damage which is unintended. Unless I am misunderstanding something?
additionally, you might consider using autonomous movement instead of set move route.
autonomous movement intentionally allows the triggers like event touch (event moves on player) even while moving the event, althoug it has some other limitations and might not be compatible with your plugin.
Thank you for replying! Would autonomous movement be the "Custom" Movement tab? That is what I am using right now and it is not working in the way I want it to (trigger event by event touch).
autonomous movement is the title of the entire event section that includes a custom movement option.

if you need more help then you need to place screenshots of a sample event for us to check its other properties.

Unfortunately though I don't want the event to trigger if the player is near it, but on top of it.
The code you were given does trigger only on top - it would be a more complex code to trigger on an area...
autonomous movement is the title of the entire event section that includes a custom movement option.

if you need more help then you need to place screenshots of a sample event for us to check its other properties.


The code you were given does trigger only on top - it would be a more complex code to trigger on an area...
I see. Thank you for explaining. I'm not sure what I did wrong then, but I've provided screenshots of the event.
Edit: Making the player and event temporarily Through seems to have fixed it? More playtesting is necessary of course but thank you all for your help.

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/how-would-i-get-an-event-with-a-move-route-to-activate-its-event-touch-while-in-move-route.169574/