As the title says I have a general question about triggers.
When running a trigger, I realize that in the events it goes in the order that they are placed in the trigger such as:
It will do Selection clear, create the unit, and then select it. But my question (which came from me working on a trigger) is this. Say I have two loops:
And they both do something such as create a unit at a point. Do they both run at the same time? Or will the second loop have to wait until the first is completely finished?
When running a trigger, I realize that in the events it goes in the order that they are placed in the trigger such as:
Code:
Actions
Selection - Clear selection for Player 1 (Red)
Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
Selection - Select (Last created unit) for Player 1 (Red)
It will do Selection clear, create the unit, and then select it. But my question (which came from me working on a trigger) is this. Say I have two loops:
Code:
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
For each (Integer B) from 1 to 10, do (Actions)
Loop - Actions