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!
Is there any possible way of doing this? For instance, i want it to be so that when an unit autocasts an instance of Searing Arrows, he will regenerate 5 hp. Any help?
You can detect when a unit is ordered to activate/deactivate autocast. Set a boolean variable on those events (use dynamic indexing or hashtable for MUI). Then you have to trigger the effect when unit takes physical damage and the boolean variable is set for damaging unit. You can use a damage detection system for detecting damage.
Another way to do this would be to base your ability on frost arrows, and detect when damaged unit has that buff.
First idea to do this easily that comes to my mind is to create two abilities for your searing arrows, switch between them, add a damage detector to your map and then check and do actions, you can add effects to your attack with hidden abilities.
Ive done this when i was trying to create a certain spell
here what i did
1st in the object editor you might want to make sure you have the following
1. Your base Searing arrow spell
2. the buff that it produces to the enemy unit after it hits
(i suggest you use poison arrow to meet these 2 conditions)
for the triggers...
If you dont want to use damage detection system you can make your own improvised
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.