Took me a bit to find out how to use multiple timelines in game maker. Still didn’t find anything obvious.
Create a global time line variable for the second. Before using it, make sure it is a valid timeline to use at some point.
if (global.timeline2==noone)
{
global.timeline2 = timeline_add();
}
Use the with clause to utilize the secondary timeline. This will let you run a second time line at the same time.
with(global.timeline2)
{
timeline_index=[NAME OF TIMELINE];
timeline_position=0;
timeline_loop=false;
timeline_running=true;
}
I am using it for incoming shmup objects on paths.
Have fun.