- Joined
- Apr 16, 2013
- Messages
- 18
The units from Region Checkpoint 1 will be picked to move to Region Checkpoint 2 and so on.
My question is, will it be fine to use the same variable? or is it better to use multiple variable arrays for the unit?
Same Array/Variable
My question is, will it be fine to use the same variable? or is it better to use multiple variable arrays for the unit?
Same Array/Variable
-
Events
- Time - Every 2.50 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in Checkpoint 1 <gen>) and do (Actions)
-
Loop - Actions
- Set unit[0] = (Picked unit)
- Unit - Order unit[0] to Attack-Move To (Center of Checkpoint 2 <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Checkpoint 2 <gen>) and do (Actions)
-
Loop - Actions
- Set unit[0] = (Picked unit)
- Unit - Order unit[0] to Attack-Move To (Center of Checkpoint 3 <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Checkpoint 1 <gen>) and do (Actions)
-
Events
- Time - Every 2.50 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in Checkpoint 1 <gen>) and do (Actions)
-
Loop - Actions
- Set unit[0] = (Picked unit)
- Unit - Order unit[0] to Attack-Move To (Center of Checkpoint 2 <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Checkpoint 2 <gen>) and do (Actions)
-
Loop - Actions
- Set unit[1] = (Picked unit)
- Unit - Order unit[1] to Attack-Move To (Center of Checkpoint 3 <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in Checkpoint 1 <gen>) and do (Actions)
Last edited: