script for move route

does anybody have a script i could put in 'move route' that would teleport the event to a location?

or is there another way to make an event reset it's location after move route is finished and then repeat again.

it's meant to be a cliff that boulders roll down from. 

-- boulder rolls off cliff, disappears (teleports back on top) and rolls down again
This is called an event, not a script to start with.

What you try to do here is really a complex thing. You can use variables to get an X and Y position, then set a new X and Y according to those variables.

Why don't you take a shot to look at @Andar's tutorials? A banner link is in my signature. Just press spoiler button.
Why do you want a script for something that is already a command of the regular move routes?


Turn transparency on, jump... to wherever the route started (count your position changes for that) and then turn transparency off again.

Original thread: https://forums.rpgmakerweb.com/threads/script-for-move-route.43221/