Ok,
I have an example for you now. Use something similar to this in the event you want to start the animpos change.
- Code: Select all
SendActivationEvent("Tile.7");
Now with Tile selected, click add event button and select activation event.
For the from actor, select whatever event actor started it. Now click add action button and select script editor, and put in this code. Make the timer in these sections a 1 time timer.
- Code: Select all
getclone("Tile.7")->animpos+=1;
CreateTimer("Event Actor", "pausetimer", 500);
Now, right-click on Tile.7 actor, and click on New Activation Event. Then Timer, and select your pausetimer. Click on Choose Actor button, and click on Tile.8. hit esc key to exit out of selecting.
Now with Tile selected, click add event button and select activation event.
For the from actor, select Tile.7(you will need to click + next to Tile to select it). Now click add action button and select script editor, and use this code.
- Code: Select all
getclone("Tile.8")->animpos+=1;
DestroyTimer("pausetimer");
CreateTimer("Event Actor", "pausetimer2", 500);
continue to Tile.9 with similar code, and when you get to the Last Tile you want to trigger, remove the CreatTimer from the code.
You can create a different timer for each activation link. ie pausetimer,pausetimer2,etc. as code shows. or use the same one, your choice.