My goal at first was making npcs, but I've decided to try and make a master event instead of a single event with parallel(for moving) + button trigger(for talking). It all went well until I needed to use moveroutes for specific small movements. I could use the ingame move route menu but that's not really friendly when you have to manage a LOT of moveroutes at the same time so this time I kinda need a script.
Let's say I want this event to do "moveStraight twice to the left, setDirection up, wait 120 frames and moveStraight twice to the right": I tried using setWaitMode('route') but it doesn't work so I'm missing something else. For example, is there a function to check if moveStraight has been sucessful?
EDIT: Actually, I just figured it myself by looking inside the this._eventData.pages[0].moveRoute object. What I did next is copy the object and use it in the function this.forceMoveRoute(object) and yay, the npc moved! Now I just need to learn all the commands. Is this way ok, or is there a better one?