@KanaX Sorry, your solution cannot work because it has no way to detect when it should jump - it will jump back after only one or two steps (or even before making the first step if the event moves slowly).
I suggest testing before placing a solution for others. Besides - having a repeating set move route in a repeating parallel event will give the move command much too often and cause lag.
@Calwa
There are two different ways to solve this, each having it's advantages and disadvantages.
The simple way is to count the number of rights needed from the starting point and then place a jump back to the starting position after that. This however will not work if there are temporary stops or other events blocking the car.
The other solution needs a parallel process to check the current position, but independent of the move route.
Use autonomouse movement (NOT set move route) to set the move right with skip if blocked.
Have the page with that autonomouse movement on parallel process, containing only the following commands:
- control variable: game data : map x of this event
- conditional branch : var >= right border
--- set event location to left border at right border
-wait(10) after the conditional branch
You might have to experiment a bit on the wait number - if that is too low the map will lag, if it is too high the car might wait a while at the right border.