• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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