Warcraft III resources & community, 2003–2006 · archived

Toggle Auras

7 posts
#1

Toggle Auras

IS there a way to toggle auras? For example. Turning on brilliance aura and make the user pay with mana for each second the aura its on as if it was some sort of immolation?
#2
CAN ANYONE PLZZZZZZZ ANSWER??
#3
make turn on/off aura as some kind of imolation withjouth damage and if is on, create and move dummy with real aura to position of hero. It is bad but there is no other way (I can see)
#4
i dont think you can detect whether a toggleable ability is changed on/off.... but i might be wrong xD
#5

i would

this is how i would do it...
when ### is casted it is removed and replaced with ### off spell and makes a dummy unit that has locest and have the arua on it adding caster to a unit group
---------------------------------------------------
every secound every unit in ###group lose Xmana
-----------------------------------------------------
unit cast ###off remove ###off and add ### remove the dummy unit and remove caster from unit group
#7
I've thought about this quite a lot myself and heres an idea, you can add abilities to units but if you add an aura it takes up a slot and if you try and max out the boxes it will bump something off most likely (Unless you can figure a way to have the aura bumped off and it still works).

I have found something out that works rather nicely, probably can't be used in a practical sense but say for example you GIVE a unit the ability of Item Life Regeneration, no icon shows up...but the effect of the life regeneration still works. Create a spell that is a 0 second cooldown no mana cost...this will be the trigger. Create a variable that is initialized to 0. Now if you know anything about spells do the event cast condition is the trigger action is set variable to 1. Run another trigger now that checks units within the range of our unit with the aura, if the variable is set to 1, add the ability to the units within the range, otherwise remove the ability from all other units.

I've done this myself in my map, its not pretty, it does work and I'm attempting to optimize it.
The conversation continued. After wc3sear.ch closed, 1 further reply was posted to this thread on The Hive Workshop. Read them there →