Problems with Unit Orders and Destructibles

Status
Not open for further replies.
Level 3
Joined
Dec 2, 2009
Messages
23
I have a problem making a unit attack a destructible(elven gate)
  • T1 EB2 Order
    • Events
      • Unit - A unit enters EnclaveBridge2 <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 1 (Red)
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Elven Gate (Diagonal 2) 0006 <gen> is alive) Equal to True
        • Then - Actions
          • Unit - Order (Triggering unit) to Attack EGV (Vertical) 0354 <gen>
        • Else - Actions
      • Set VarHolyEnclave = (Center of HolyEnclave <gen>)
      • Unit - Order (Triggering unit) to Attack-Move To VarHolyEnclave
      • Custom script: call RemoveLocation(udg_VarHolyEnclave)
The part of "Unit - Order (Triggering unit) to Attack EGV (Vertical) 0354 <gen>" is not working when the unit reaches the region, the unit just ignores the command. Help!
 
Status
Not open for further replies.
Top