• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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