Set Movement Route

Hello guys 🙂

I just want to ask what is the script call for Set Movement Route of an Event?


If ever i have the script for Set Movement Route how i can access it on the Class Game_System? because i currently making the script on the Class Game_System. Thank you in Advance 🙂  
@Vampire Vox Thanks for the link. but there's no script for calling the movement route of an Event aside the followers.

Sorry i edit my post.
 Thanks for the link. but there's no script for calling the movement route of an Event aside the followers.



wrong - it just isn't directly visible because it is not a simple line.


If you click on the empty looking cell where the set move route equivalent should be, several long comments become visible in a popup to the right.


Unfortunately those are just short examples...


The problem here is that you need to create the move route before you can set it, and that is not a single command but a series of commands to be processed.


I have seen a topic here on the forum where it explains the entire structure of those commands, but I don't know if that was for Ace or for MV - the technique needed is identical, but the command syntax is different between Ace and MV
Hello guys 🙂

I just want to ask what is the script call for Set Movement Route of an Event?


If ever i have the script for Set Movement Route how i can access it on the Class Game_System? because i currently making the script on the Class Game_System. Thank you in Advance 🙂  

Not shure but check over here.

Code:
$dataMap.events[id].pages[0].moveRoute
I wrote a tutorial on how to do this in Ace.  I don't recall updating it to provide the MV commands.  The command above is not going to help you.


Please explain what you are trying to do - why in the world would you want to issue a set move route from within Game System?  There may be a better way of doing what you want to achieve, and I much prefer to help people do things in the best way than follow the brute force approach of giving them what they ask for even though it might be a bad idea.
@Shaz: I created my own Function to keep my event much more easier, because some of my event has the same process (Alter the Switches, Variables Except to the Movement Route of the Event) so instead of copying and edit the long event i just create my own function. And my first point is to put that function in Class Game_System and I thought that was Good!
Putting something that affects the player or events in Game_System does not make sense.  Put it in the class that it's affecting.  Either Game_Event (if it's only affecting the events) or Game_CharacterBase or Game_Character if it affects events as well as the player.

Original thread: https://forums.rpgmakerweb.com/threads/set-movement-route.69555/