Hey guys
I was wondering... what is the order in which event parallel processes/autoruns execute? For example, you have two autoruns on the same map. Does anyone know which one goes first? Is it the event with the lowest event number, i.e. EV001 goes first, then EV002, then EV003?
What happens if there's a parallel process and an autorun on the same map? Which one goes first?
I'm having trouble because I have a combination of an autorun and a parallel process going on, but it's giving me headaches. It'd be nice to have some closure regarding the subject.
What is the order in which event parallel processes/autoruns execute?
● ARCHIVED · READ-ONLY
-
-
Parallel's run side by side and they start before you even see the map. Autoruns start once you see the map...
If you need to control the autoruns, you can simply use a variable as a counter and as a condition... Each autorun will require a certain value of that variable to run, so after each autorun, you simply increase the value of the variable so that the next one can run. Though you'd probably need another page for that event so that it gets disabled since the only comparison when using the conditions tab is Greater than or equal to
So it will be like
Event 001
Page 1
Autorun
Condition => Variable 1 is equal to or greater than 0
Event commands
Then Variable 1 += 1
Page 2
Condition => Variable 1 is equal to or greater than 1
*so now this event is "disabled"*
Then
Event 002
Page 1
Autorun
Condition => Variable 1 is equal to or greater than 1
Event commands
Then Variable 1 += 1
Page 2
Condition => Variable 1 is equal to or greater than 2
*so now this event is "disabled"*
And so on -
It is never advisable to have more than one autorun event active at a time.