Need event to block movement while appearing below the character

I have set an event to be spikes that alternate between being up and down with every step.

I want it so that when it is up, it blocks movement onto that space but also appear below the player if that managed to get on it...

setting priority to "below character" makes the image to display how I want, but doesn't obstruct movement.

setting priority to "same as character" makes the event obstruct movement how I want, but also make the sprite display above the player if they happen to be on it...
I set my spikes to make the player step back with hit animation. So this blocks them in that sense.

First Event page -
Directional fix.
Show spike image shown flat
Add a Self switch in the contents.

Set the speed and Frequency.
set below characters then player touch.


Page 2 - in conditions set self switch A on Set Autonomous movements fixed.
set speed and freq.
Set to below characters.
and in the image - show the spikes UP.
Add directional fix.

In the contents;
Set movement player - 1 step backwards
wait a few frames.
Self switch A off.

Also set this to an AUTO RUN

On page 3

Show image flat down.
Set to Below characters.
Set to Action button.
In conditions make a switch and set it to OFF.
One way I could think of is to stack 2 event in the same tile.
One event is below player and are there for just the visual.
Another are moving transparent impassable event which to block player movement.
One way I could think of is to stack 2 event in the same tile.
One event is below player and are there for just the visual.
Another are moving transparent impassable event which to player movement.
I did think of that but with many spikes on the same map this gets messy.

It is a possible solution but i am hoping going to see if a cleaner solution comes up.

Thanks anyways.
I set my spikes to make the player step back with hit animation. So this blocks them in that sense.

First Event page - Direction fix with spike image shown flat Add a Self switch in the contents.

Set the speed and Frequency - set below characters then player touch.


Page 2 - in conditions set self switch A on Set Autonomous movements fixed.
set speed and freq
below characters and show the spikes UP
Add direction fix
in the contents

Set movement player - 1 step backwards
wait a few frames
Self switch A off

Also set this to an AUTO RUN

On page 3

Show image flat down.
Below characters.
Action button
In conditions make a switch and set it to OFF.
Hmm, I'll give a 3 page solution a try
Hmm, I'll give a 3 page solution a try
Works for me just fine, it will give you the below that you want and the block that you want.

This is a simple way to do it, if you want spikes to go up and down autonomously, you would need to use variables and parallels.

Oh cool here is a cool thread explaining at least 3 different ways to do it.
Depending on how you want it to work.

Unfortunelty i couldn't provide screen shots as i'm not on my PC. so this will help you GREATLY.

Works for me just fine, it will give you the below that you want and the block that you want.

This is a simple way to do it, if you want spikes to go up and down autonomously, you would need to use variables and parallels.

Oh cool here is a cool thread explaining at least 3 different ways to do it.
Depending on how you want it to work.

Unfortunelty i couldn't provide screen shots as i'm not on my PC. so this will help you GREATLY.

Thank you, this is very helpful.

Original thread: https://forums.rpgmakerweb.com/threads/need-event-to-block-movement-while-appearing-below-the-character.130027/