- Joined
- Nov 21, 2015
- Messages
- 226
Event is periodic per 0.02
Any help is welcome
-
[/B][/SIZE]
-
Unit Group - Pick every unit in (Units in Conv_Region matching ((Current flying height of (Matching unit)) Less than or equal to 10.00)) and do (Actions)
-
Loop - Actions
-
Set TempPoint1 = (Position of (Picked unit))
-
Set TempPoint2 = (TempPoint1 offset by (Conv_MoveX, Conv_MoveY))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Terrain pathing at TempPoint2 of type Walkability is off) Equal to True
-
-
Then - Actions
-
Do nothing
-
-
Else - Actions
-
Custom script: call SetUnitX(GetEnumUnit(), GetLocationX(udg_TempPoint2))
-
Custom script: call SetUnitY(GetEnumUnit(), GetLocationY(udg_TempPoint2))
-
Custom script: call RemoveLocation(udg_TempPoint1)
-
Custom script: call RemoveLocation(udg_TempPoint2)
-
-
-
-
Any help is welcome