- Joined
- Dec 9, 2009
- Messages
- 397
For some reason this is crashing my map, the part I changed from when it was working was
-
((Owner of (Ordered unit)) is giving (Owner of (Target unit of issued order)) Alliance (non-aggression)) Equal to (==) True
-
Disable Patrol
-

Events
-


Unit - A unit Is issued an order targeting a point
-


Unit - A unit Is issued an order targeting an object
-
-

Conditions
-


Multiple ConditionsOr - Any (Conditions) are true
-



Conditions
-




((Owner of (Ordered unit)) is giving (Owner of (Target unit of issued order)) Alliance (non-aggression)) Equal to (==) True
-




(Owner of (Ordered unit)) Equal to (==) (Owner of (Target unit of issued order))
-
-
-


Multiple ConditionsOr - Any (Conditions) are true
-



Conditions
-




(Issued order) Equal to (==) (Order(patrol))
-




(Issued order) Equal to (==) (Order(smart))
-
-
-
-

Actions
-


Set TempUnit = (Target unit of issued order)
-



Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-




If - Conditions
-





TempUnit Equal to (==) No unit
-
-




Then - Actions
-





Unit - Order (Triggering unit) to stop
-
-




Else - Actions
-





Wait 0.01 seconds
-





Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) the text: You may use "move" ...
-





Unit - Order (Triggering unit) to stop
-
-
-
-


Set TempUnit = No unit
-
-




