Help with spike trap event

Hi! 🙂

I have a spike trap event set up and it works almost perfectly 😛 It damages the player when they walk into it. The problem is if the player stops walking on top of the spikes. The spikes continue to go up and down but the player doesn't receive any more damage. Which doesn't look very good :/

I have a parallel event running that controls when the spikes go up and down
SpikeTrap_1.jpg


And this is the actual spike trap event. Page 1 is just empty with the graphic changed to spike that are down.
SpikeTrap_2.jpg


Is there anyway to trigger the event if the player is just standing still on top of the event?
Hmm, have you tried setting it to Player Touch? If you have then you might need to make this more complicated and have a parallel event that is triggered once the player is in a set location. This could get pretty confusing and be a lot of work though. :\
I was working on this exact thing for my game, Heir to the Kingdom. Ended up getting some help from a couple awesome forum members. The results of our discussions ended up in this tutorial. Hope it helps.

https://forums.rpgmakerweb.com/index.php?threads/timed-spike-trap-tutorial.79746/
@SmashArt Yeah tried that :/ I have it working now though! I have done exactly that and also used $gamePlayer.isMoving() check so i can tell when the player isn't moving 🙂

@Frogboy Brilliant! 😀 I tried this but i found if i ran quickly it wouldn't damage the player even when the spikes were up sometimes. So i combined the touch events with the region check and another check to see if the player inst moving and it all works perfectly now 🙂 Thanks for that!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-spike-trap-event.93551/