"Erase event" in a Set Movement Route

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
1,900
Reaction score
797
First Language
French
I'd like a "set movement route" event to end with the event being erased.

So for instance:
SET MOVE ROUTE
Move left
Move left
Turn right
Erase event

I'd like it inside the "set movement route" so I don't have to make the player wait for the route to be completed in order to erase the event.

So NOT this using separate events :

SET MOVE ROUTE (wait)
Move left
Move left
Turn right

And only then:
Erase event

Is this possible?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,429
Reaction score
12,954
First Language
English
Primarily Uses
RMMV
In a script call, this.erase() will erase the event.

However, if you put it at the end of a move route, it will only be executed when the move route is complete anyway.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Government : "Hehehe~ I will spread lies that the earth is round so that I could sell globes~"
Anyone here managed to never burn out on programming? My current limit is 3 months(6-8 hours per day, 7 days per week, 50 hour programming week on average), and then I just have to take a break, sometimes lasting few days(with at most 2 hours on programming per day). I've been always like this so far, so I admire those who can always be so passionate on programming :)
This is starting to become a momochi collection y'all!
Meet Swefo The candy Eater!

Hide your candy... I or I sweefe sweefefooo~~~

Forum statistics

Threads
99,655
Messages
967,741
Members
131,338
Latest member
Vattitheminish
Top