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

[General] detecting the cancel of an order/ability (before it is activated)

Status
Not open for further replies.
you know when you click an ability's icon/press an ability's hotkey the command card turns blank except for one order; cancel (ESC)?

i wud like to know how to detect the cancel WITHOUT THE SKIP CINEMATIC DETECTION SYSTEM.

i noe that
a) it has been asked before
b) it is doable

EDIT: i have devised two possible ways which i shall test;
1. from looking at the open source version of TcX, apparently ToadCop used an 'item permanent health gain' ability for his jump. im not sure how this works
2. i thought up creating two abilities; A (hotkey A) is an instant-cast (like berzerk, thunder clap etc) and B (hotkey B) is target-cast. ill use this trigger;
Every 0.01 seconds:
-Force UI key press A
-Force UI key press B
hopefully, the result is if A is detected as casted, that means B has been cancelled. this might be useful for a lot of others.

EDIT 2: i tested solution 2 and it does indeed work. solved by myself i guess
 
Last edited:
Status
Not open for further replies.
Top