Idle player not triggering event problem

what im trying to do is make a falling floor tile, when a player is on a tile it takes 1 second to activate and "fall"

I want the event to trigger when idle on that exact event.

as shown here, but when a player is idle on it it wont trigger like so
V

but it does trigger when the player walks into it
V


heres what the event looks like this
player triggers a event -> Paralllel proccess turns on -> event touch turns on
can anyone help?
1612065071315.png

1612065091374.png

1612065111879.png
Your last page is conditioned by event touch, which means the player has to walk into the event, or the event has to walk onto the player. If the player is already standing on the event when that page becomes active, it won't trigger.

Change it to parallel process and wrap the event commands into an IF statement:

Code:
If Script: $gamePlayer.x === this.character(0).x && $gamePlayer.y === this.character(0).y
  ... do stuff

which means the player will only "fall" if they are still standing on that tile after the 50 frames. If the player has moved off the tile, then you can add

Code:
Else
  (maybe play an SE)
  Control Self Switch A = OFF
  Control Self Switch B = OFF
End

if you want the trapdoor to close again, or
Code:
Else
  Control Self Switch C = ON
End

and add another event page with the same sprite as page 3, conditioned by self switch C, set to Event Touch and with no event commands, if you simply want the trapdoor to stay open.
Your last page is conditioned by event touch, which means the player has to walk into the event, or the event has to walk onto the player. If the player is already standing on the event when that page becomes active, it won't trigger.

Change it to parallel process and wrap the event commands into an IF statement:

Code:
If Script: $gamePlayer.x === this.character(0).x && $gamePlayer.y === this.character(0).y
  ... do stuff

which means the player will only "fall" if they are still standing on that tile after the 50 frames. If the player has moved off the tile, then you can add

Code:
Else
  (maybe play an SE)
  Control Self Switch A = OFF
  Control Self Switch B = OFF
End

if you want the trapdoor to close again, or
Code:
Else
  Control Self Switch C = ON
End

and add another event page with the same sprite as page 3, conditioned by self switch C, set to Event Touch and with no event commands, if you simply want the trapdoor to stay open.
Thank you! it worked!
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/idle-player-not-triggering-event-problem.132867/