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'm wondering if there is a way to detect the actual impact of a Phoenix Fire projectiles. I would like to add effects to its targets and therefore I wonder if it's possible.
Well if you trigger the phoenix fire than the whole thing is different:
Like:
Every 3 sec of game time
Pick Random unit from units withing 500 range of "yourUnit" and do:
That should do it or am I wrong? Than you can add any effect you want :/
And you should be able to create a dummy spell that can be detected on impact.
Use a dummytype you don't use for anything else.
Make the fireball deal 1 dmg or something like that.
When a unit is damaged, detect if the damaging unit is the specific dummytype.
The 'unit takes damage'-function doesn't exist for generic units, only specific. Also, I dont think it's possible to call the source of the damaging spell type, only which unit.
I think it would work if you would set "unit is attacked" event and "unit has buff" condition - with phoenix fire as buff since whenever a unit gets hit by phoenix fire,it gets buff.
(Didn't test it,but i think it works)
I think it would work if you would set "unit is attacked" event and "unit has buff" condition - with phoenix fire as buff since whenever a unit gets hit by phoenix fire,it gets buff.
(Didn't test it,but i think it works)
Unfortunately your wrong today - getting hit by phoenix fire is not an attack order, thus the unit was never "attacked." I have triggered something like this before, but to accomplish It I had to create an invis dummy unit at the position of the unit with the item/spell that does this, then constantly move its position. Then whenever a unit is attacked by that unit, you do the effects (I was trying to make bships with hit/miss probability - hmm I never finished that map, maybe I should continue work sometime soon)
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.