• 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.

[Trigger] Right Click Blink

Status
Not open for further replies.
Level 5
Joined
Sep 10, 2006
Messages
185
I'm trying to make a trigger to make units blink when they are ordered to move to a point greater than 300 away from them. This is what I've come up with --

  • Blink
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Issued order) Equal to (Order(move))
    • Actions
      • Set BlinkPos[1] = (Target point of issued order)
      • Set BlinkPos[2] = (Position of (Triggering unit))
      • Set BlinkReal = (Distance between BlinkPos[1] and BlinkPos[2])
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • BlinkReal Greater than or equal to 300.00
        • Then - Actions
          • Unit - Order (Triggering unit) to Night Elf Warden - Blink BlinkPos[1]
        • Else - Actions
      • -------- Leaks --------
      • Custom script: call RemoveLocation(udg_BlinkPos[1])
      • Custom script: call RemoveLocation(udg_BlinkPos[2])
The trigger doesn't run, and I can't figure out what to change for event / condition.

ty
 
Level 3
Joined
Sep 18, 2008
Messages
60
i cant find the wardens ability in my Preset list... do i have to change something for the blink ability first?
 
Level 3
Joined
Sep 18, 2008
Messages
60
"unit" -> "Issue Order with no target" -> Order "mybuilder" to "ability"

and then theres a list of abilities to choose from the warden's are: "Rache"(revenge/vengeance) and "Dolchfächer" dont know the english word for this ability lets call it "flying daggers" ;) but no teleporting ability (blink or in german "beflügelt") :cry:

So i have to use "targeting a point?"


EDIT: God bless you!!! ^^ now it works... i'm new to the editor so i often have to guess how to get the triggers like people are posting here...
 
Level 3
Joined
Sep 18, 2008
Messages
60
yeah right... i dont know what made me believe that my version should work in any way ^^ maybe i sould start drinkin' that would give it a reason :p
 
Status
Not open for further replies.
Top