• 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] blink when move-commanded?

Status
Not open for further replies.
Level 9
Joined
Jan 14, 2008
Messages
366
  • blinkmove
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • (Issued order) Equal to (Order(move))
      • (Unit-type of (Ordered unit)) Equal to Builder
    • Actions
      • Game - Display to (All players) the text: ORDER ACQUIRED
      • Set Temp_Point = (Target point of issued order)
      • Unit - Order (Ordered unit) to Night Elf Warden - Blink Temp_Point
      • Custom script: call RemoveLocation (udg_Temp_Point)
wanna make the unit blink, to pointX whenever it is issued the order to move to pointX. the text is only to check if the trigger conditions are fullfilled.

the trigger condition seem to be wrong, because the testing-text is not displayed.

but what could be the cause for this?

any help appreciated
 
Last edited:
Level 18
Joined
Sep 27, 2005
Messages
2,069
blinkmove
Events
Unit - A unit Is issued an order targeting a point
Conditions
(Issued order) Equal to (Order(move))
(Unit-type of (Ordered unit)) Equal to Builder
Actions
trigger - run trigger 2 ignoring conditions
Set Temp_Point = (Target point of issued order)
Unit - Order (Ordered unit) to Night Elf Warden - Blink Temp_Point
Custom script: call RemoveLocation (udg_Temp_Point)

trigger 2
Game - Display to (All players) the text: ORDER ACQUIRED

try this spliting the triger might work
 
Level 9
Joined
Jan 14, 2008
Messages
366
well then i get the text message. but the unit doesnt blink.

the problem is that the unit doesnt blink. the text message was merely to verify,

wether the problem is in the conditions or in the actions.

since the text message doesnt fire, the problem is within the conditions.

i suspect the "move" command line to be invalid or smth...
 
Level 9
Joined
Jan 14, 2008
Messages
366
do the units have blink? try move to instantly creating effects on the blink spots

the units have blink.

if i make the same trigger with the "move unit instantly" action, the conditions are still the same. and since the problem is in the conditions, that wont help =/
 
Level 11
Joined
Dec 31, 2007
Messages
780
hey oxxo i wanted to make a unit controled by neutrals to blink when i casted something on it... but it never worked... seems that the blink actions doesnt work... at least it didnt for me... so i had to think of something else :/


EDIT: try this for me plz... remove the leak removal line from the trigger and see what happens. I think that you may be removing the point before the unit actually blinks... and that could be your problem... that thing has just came to my mind and i dont have WE to test

and try the conditions like this

  • Or - Any (Conditions) are true
    • Conditions
      • (Issued order) Equal to (Order(move))
      • (Issued order) Equal to (Order(smart))
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Remember that the events fire before the unit actually physically carries the order out. Thus you need to have a small delay between the event firing and you issuing a different order via triggers otherwise your order gets qued up as the event response order overwrites it. To work around this problem, use a timer that expires in 0 seconds to delay the blink order after the event fires. Equally a TriggerSleepAction could be used but it would result in a visable delay before blinking occurs, and thus why I recommend timers.
 
Status
Not open for further replies.
Top