What Event To Detect ?

Status
Not open for further replies.
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.
 
https://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.
Back
Top