- Joined
- Sep 24, 2007
- Messages
- 300
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- AstroJumpLevel Equal to 1
-
Then - Actions
-
Unit Group - Pick every unit in (Units within 400.00 of (Position of (Casting unit))) and do (Actions)
-
Loop - Actions
- Unit Group - Add (Picked unit) to AstroJumpUnitGroup
- Unit Group - Remove (Casting unit) from AstroJumpUnitGroup
- Advanced - Slide (Picked unit) using (Facing of (Casting unit)) degrees angle with a starting velocity of 20.00 and kill destructables in the way True
- Unit - Create 1 DummyAstroJump for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing (270.0) degrees
- Unit - Add a 3.50 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Follow (Casting unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 400.00 of (Position of (Casting unit))) and do (Actions)
- Else - Actions
-
If - Conditions
The problem is in Slide action. I must select all units in AstroJumpUnitGroup to slide, not Picked unit. The problem is, that I can't find function that would select all units in unit group. I only found "Find first unit in unit group" and "Random unit in unit group".
I need to select all from unit group of them, not only 1.
+rep to the person who helps me
Ty in advance