Hello!
I am attempting to create move routes for events via scripts. I know how to use scripts to tell an event "go here", but telling it "go here, and then once you get there, go to this other place and then do something" is much harder. Obviously you can do this through event commands, but those require you to know exactly which event you're commanding beforehand (and that it exist at the time you create the map). I do not. For those wondering about my use case, I'm using Yanfly's spawned events plugin to create events, and then I want the spawned events to take a sequence of actions.
I noticed Shaz had made a thread which described the process for VX Ace, but I'm not sure how to translate that into MV.
For background, I have a basic familiarity with javascript and the engine, and have made a few plugins for my own game (mostly helper functions and such). I get that I'll need to construct an array of some sort that contains all the stuff I want my event to do, but I'm not sure what I should put in it.
I'm sure I'll figure it out eventually, but I'd be quite thankful if someone could point me in the right direction. I also suspect this is a question of general interest. Thank you!
I am attempting to create move routes for events via scripts. I know how to use scripts to tell an event "go here", but telling it "go here, and then once you get there, go to this other place and then do something" is much harder. Obviously you can do this through event commands, but those require you to know exactly which event you're commanding beforehand (and that it exist at the time you create the map). I do not. For those wondering about my use case, I'm using Yanfly's spawned events plugin to create events, and then I want the spawned events to take a sequence of actions.
I noticed Shaz had made a thread which described the process for VX Ace, but I'm not sure how to translate that into MV.
For background, I have a basic familiarity with javascript and the engine, and have made a few plugins for my own game (mostly helper functions and such). I get that I'll need to construct an array of some sort that contains all the stuff I want my event to do, but I'm not sure what I should put in it.
I'm sure I'll figure it out eventually, but I'd be quite thankful if someone could point me in the right direction. I also suspect this is a question of general interest. Thank you!