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!
I thought I could catch the order on EVENT_PLAYER_UNIT_ISSUED_ORDER, and then compare the issued order to the Stunned order ID (which is 851973), but it doesn't work for me. Any ideas?
"Stunned" is a buff, its not an order ID. an order ID would be Storm Bolt, Carrion Swarm, smart, etc.
If you want to detect if the unit is casting a spell that stuns, you have to index every spell that stuns and you want to add and check if its any of those spells
You can also use a damage engine and check if it has the "Stunned" buff on hit
I found out that it responds to ISSUED_TARGET_ORDER, not just ISSUED_ORDER.
Solved, close ( + credits to Nes, whose script StunEvent helped me find it ).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.