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

What Event To Detect ?

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,099
Text - Order String - Activate usually for turning on automatic. But as you might have seen, frostarrows have null there and changing the value has no effect. So it's not really connected.

I have looked it up the order list from Unit - Issue Order With No Target but you might also print it out by creating a simple trigger.

  • Events
    • Unit - A unit Is issued an order with no target
  • Conditions
  • Actions
    • Game - Display to (All players) the text: (String((Issued order)))
Uses Conversion - Convert Order To String. On a side note, not all orders have strings as identifier.
 
http://www.hiveworkshop.com/forums/jass-functions-413/snippet-autocastorderevent-151064/

Azlier's Autocast Order Event is in vJass, although you could do the same in GUI:

  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
  • Actions
    • Custom script: if GetIssuedOrderId() == 0xD0114 then
    • -------- Cold Arrows "on" --------
    • Custom script: elseif GetIssuedOrderId() == 0xD0115 then
    • -------- Cold Arrows "off" --------
    • Custom script: endif
 
Status
Not open for further replies.
Top