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

This Detectable?

Status
Not open for further replies.
Level 8
Joined
Dec 9, 2009
Messages
397
Is it possible to detect:
When you click on a spell that needs a target
All your chars boxes go black except 1, cancel button

Can I detect if they hit the cancel button?
 
Level 7
Joined
Dec 3, 2006
Messages
339
Cancel isn't detectable as far as i've heard. It has an orderID but it doesn't work trying to detect that order.
 
  • NoCancel
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • ((Ordered unit) is something) Equal to True
    • Actions
      • Custom script: if GetIssuedOrderId() == 851976 then
      • Do something
      • Custom script: endif
And some other IDs which are not in GUI at courtesy of Nesthaurs http://www.thehelper.net/forums/showthread.php/165178-Order-Ids
 
Status
Not open for further replies.
Top