- Joined
- Jun 27, 2010
- Messages
- 2,654
in this trigger , a unit can isntantly move to a smart-move location, but only if not in the blue zone. so if it is order to go to the blue zone, it doesnt instantly move there, but still starts to go. as you can see i tried with trigger order unit to hold position, but doesnt work?
-
move instantl
-
Events
- Unit - A unit Is issued an order targeting a point
-
Conditions
- (Issued order) Equal to (Order(smart))
-
Actions
- Set TempLoc = (Target point of issued order)
- Unit - Order (Triggering unit) to Hold Position
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Player number of (Owner of (Triggering unit))) Less than 6
- (blue zone <gen> contains TempLoc) Equal to False
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Unit - Move (Triggering unit) instantly to TempLoc
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Player number of (Owner of (Triggering unit))) Greater than or equal to 6
- (blue zone <gen> contains TempLoc) Equal to True
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Unit - Move (Triggering unit) instantly to TempLoc
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_TempLoc)
-
Events