hello there,
If I nest a "pick every unit in unit group" loop inside a "pick every unit in unit group" loop - which unit will be treated as picked unit?
will something like this work, or will it refer back to the first picked unit again?
If I nest a "pick every unit in unit group" loop inside a "pick every unit in unit group" loop - which unit will be treated as picked unit?
will something like this work, or will it refer back to the first picked unit again?
-
Carried periodic
-
Events
- Time - Every 0.05 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in CarriedCasterGroup and do (Actions)
-
Loop - Actions
- Set ID = (Custom value of (Picked unit))
- Set CarriedCounter[ID] = (CarriedCounter[ID] + 1.00)
-
Unit Group - Pick every unit in CarriedDummyGroup[ID] and do (Actions)
-
Loop - Actions
- Set CV = (Custom value of (Picked unit))
-
Loop - Actions
-
Loop - Actions
-
Unit Group - Pick every unit in CarriedCasterGroup and do (Actions)
-
Events