- Joined
- Mar 24, 2010
- Messages
- 950
I already assume a logical answer to this but i wanna just double check with some people to make sure.
Lets say i have this trigger:
If 2 or more triggers with time events like this, trigger at the same time and im using the Temp_UnitGroup variable for all of them will it sequence this in order and work fine or will it mess up and try and use that var for more than 1 group at once?
Reason i ask is i have had some triggers in the past happen at the same time and do some funny things before, but i dont remember if it had anything to do with unitgroup var's and it wasnt with a time event it was a unit triggered event which is more on the dot time wise.
Lets say i have this trigger:
-
Spawn Footmen
-
Events
-
Time - Every 8.00 seconds of game time
-
-
Conditions
-
Actions
-
Set Temp_UnitGroup = (Units of type Town Hall)
-
Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
-
Loop - Actions
-
Set Temp_Point = (Position of (Picked unit))
-
Unit - Create 1 Footman for (Owner of (Picked unit)) at Temp_Point facing Default building facing degrees
-
Custom script: call RemoveLocation ( udg_Temp_Point )
-
-
-
Custom script: call DestroyGroup (udg_Temp_UnitGroup)
-
-
If 2 or more triggers with time events like this, trigger at the same time and im using the Temp_UnitGroup variable for all of them will it sequence this in order and work fine or will it mess up and try and use that var for more than 1 group at once?
Reason i ask is i have had some triggers in the past happen at the same time and do some funny things before, but i dont remember if it had anything to do with unitgroup var's and it wasnt with a time event it was a unit triggered event which is more on the dot time wise.