Automatic moving platform

Hey every one last I was on this site I was in the process of making a platform that moves back and forth automatically across a deadly pit. Before taking a long break from rpg maker I believed I had completed this event only to return and realize their was a major flaw that I can't seem to correct without breaking what I already have.

What Works:
- When my player enters the map, my platform event moves in a pattern, stopping at the ground tile for 60 frames allowing the player enough time to step on/off event

- When player steps from ground tile onto pit tile player immediately gets transferred to start of the map

- when player steps onto platform event, the platform moves the player safely across the pit

Issue:
- When player steps off of platform event onto pit tile player can walk around the pit before getting transferred to the start of the map. this can break how the platforms function altogether.

My Events:

if I remove or lower the wait 15 frames the player can't step onto the platform at all
Screenshot (2).png

I would event a radius around the platform in a parallel event so that the safeground switch could activate right before my player steps on the platform, except I can't run a parallel event and an auto movement route at the same time. And to achieve this in a separate event all together would require me to use dozens of more variables depending on how many platforms I'm using on a single map.
Screenshot (9).pngScreenshot (10).pngScreenshot (13).pngScreenshot (14).png



Does Anyone have any suggestions to help correct this problem or even make my platform event more efficient.

Any and all help would be greatly appreciated,
Thank you. ^.^
moving platform on parallel makes the player move as well so the platform will
be moving while player does not.

to make it work when stepped on it, you need to make an autorun event controlling
those, when the player gets off, you can set the platform back to parallel if you wish.

I believed there was a tiny tutorial from Caetryl that has a moving platform and a
selfswitch running this. The platform however dont move in parallel process,
but I think you can learn a thing of 2 from it or combined with yours.

parallel movement and player need to walk in the direction to stay on it makes
it on 1 side more challenging, but also nice if you can make a jump system in it to
jump on the platform.

there are some methodes, but you might figure it out.
Okay, the reason why I was using parallel and player touch events as opposed to auto run is because I have alot of variable checking and if statements on those same events, but I can certainly try to arrange everything to work with auto run.

do you mind directing me to the tutorial you mentioned I tried searching it up in the forums and I didn't get any results
go here to caethyril page, than hers google drive link on the forum
and small demo's, there is one how to make it.

keep in mind, this is on autorun or player touch, than move, not
parallel, but if you do it right, you can make it happen exactly like that.

Original thread: https://forums.rpgmakerweb.com/threads/automatic-moving-platform.136789/