How do I make it so that an event still triggers if the player is standing on it

Hi, I've been making this game for over a year now and working with this engine for longer but it only now has occured to me to make an account here, so this is my first post.

I'm having an issue while testing a set of traps for a map of the game. After a switch is triggered, a set of lasers coming out of the floor at different intervals start appearing and if the player were to walk to them, its a game over. The lasers have a windup animation that plays before switching to the page that is actually dangerous.
Everything works as it should so far, but I'm having an issue where if the player stands directly where the laser comes out, directly on the event, it doesn't trigger.

laserfail.PNG


This looks silly and trivializes the lasers if anyone were to figure that out, so I wanted to know how i could make it so that the event triggers while the player is already standing on it

On another note, I'm also using Hime's Follower Event Touch plugin wich has worked perfectly up until now, where it doesnt trigger when the party members stand on or walk onto the event, but I'm not as hard-pressed to fix that and I feel like fixing the first problem would fix the second.

1737809560875.png
Check in parallel the player coordinates and if they match the laser event coordinates when the laser shoots up. (and check follower coordinates too if you want)
well, it's hard to guess without looking at it, but know this:
-parallel processes are always active as long as the condition of the page is true.
-pages switch automatically to whichever one is true as long as the current one is no longer true.
-"player touch" events trigger automatically whenever the condition is true, and the player is on them.

bounce between those truths... maybe you'll find a way to ping-pong a handshake system? trigger, reset, trigger automatically again, etc.
you need to trigger after reset, and reset when no longer active, which can't be active unless triggered.
figure out that flow.
Check in parallel the player coordinates and if they match the laser event coordinates when the laser shoots up. (and check follower coordinates too if you want)
It works! At first I was having some issues with event that checks for the IDs not working, but after I made it only check when the laser goes off, it works exactly as I wanted.

Thank you!
Additionally you need to keep in mind that by design, only one event can be triggered on any given step/turn/tile. You cannot chain-trigger by default to prevent a lot of minor problems.

so a tile can either have an event triggered OR a random encounter triggered, the random encounters never happen on event-tiles.
and if an event moves the player to a different position, any event on that new position cannot trigger either because the original event already triggered in that step.

an possible better solution to the parallel would have the event that turns on the switch check if the player is on a critical position at that time before turning the switch.
That would cause less lag than a parallel, although it depends on the number of laser events and map logic to see if the parallel might not be easier to handle.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-it-so-that-an-event-still-triggers-if-the-player-is-standing-on-it.174943/