I'm scripting a movement route for a series of events in a cutscene. The cutscene needs to be able to switch out different events for the "actors" in the cutscene, and so I need to use a script to run it instead of setting a movement route the way I normally do. However, when I try to run the scene, the moving event only appears for the last movement route set, although it does teleport in the proper place. Can someone advise on how to keep the event visible for the entirety of the movement route? Here is the code governing the movement of one of the actors: it should move the event as follows:
Left 2, Up 1, Left 2, Up 1, Left 1, Up 1, Left 1, Up 1, Left 1, Up 2, Left 1
Thank you!
Left 2, Up 1, Left 2, Up 1, Left 1, Up 1, Left 1, Up 1, Left 1, Up 2, Left 1
Code:
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(8);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(8);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(8);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(8);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(8);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(8);
$gameMap.event($gameVariables.value($gameVariables.value(31)) [1]-2).moveStraight(4);
Thank you!