- Joined
- Dec 5, 2009
- Messages
- 846
Hello i want this order id to work. But it doesn't.
BTW: i have tested ''attack-move'' ''move-attack'' attack-move-to
BTW: i have tested ''attack-move'' ''move-attack'' attack-move-to
-
Mercenary AI Copy
-

Events
-


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


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

Conditions
-


P_Hero[((Player number of (Triggering player)) - 1)] Equal to (Ordered unit)
-
-

Actions
-


Set Merc_Point[1] = (Target point of issued order)
-


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



If - Conditions
-




(Issued order) Equal to (Order(move-attack-to))
-
-



Then - Actions
-




Unit - Order P_Mercenaries[((Player number of (Triggering player)) - 1)] to Attack-Move To Merc_Point[1]
-
-



Else - Actions
-



Custom script: call RemoveLocation(udg_Merc_Point[1])
-
-
-




