• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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.
Back
Top