R
Richard Horne
Guest
I'm working on a project where I have 8 separate timelines. Each one is generated dynamically with its moments or timestamps indicated by timestamps in an array. Each timelines triggers a different version of the script.
Timeline 1 - Script 1
Timeline 2 - Script 2 etc.
Each of those scripts is pretty much identical except that they trigger different objects moving in different locations. Due to the number of different timestamps in each array (hundreds) it's much cleaner to keep them all separated.
If I run each timeline individually then everything works perfectly. But if I try and trigger all 8 at the same time then only the first one triggered actually works.
Is it possible to run multiple timelines simultaneously and if so how do I go about doing this?
I've tried creating a different game object for each one and triggering them simultaneously but only the first one activates.
The code I've tried is the following but for all 8 of my timelines in a step event.
Timeline 1 - Script 1
Timeline 2 - Script 2 etc.
Each of those scripts is pretty much identical except that they trigger different objects moving in different locations. Due to the number of different timestamps in each array (hundreds) it's much cleaner to keep them all separated.
If I run each timeline individually then everything works perfectly. But if I try and trigger all 8 at the same time then only the first one triggered actually works.
Is it possible to run multiple timelines simultaneously and if so how do I go about doing this?
I've tried creating a different game object for each one and triggering them simultaneously but only the first one activates.
The code I've tried is the following but for all 8 of my timelines in a step event.
Code:
timeline_index = global.tml_dynamic1;
timeline_running = true;
timeline_position = 0;
timeline_index = global.tml_dynamic2;
timeline_running = true;
timeline_position = 0;
timeline_index = global.tml_dynamic3;
timeline_running = true;
timeline_position = 0;