HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Where is the "A unit has buff" event?

06-22-2006, 04:11 PM#1
darkwulfv
My title explains it. If it's in units, I didn't find it the 100 times i checked. If it's not there, how do you check for it?
06-22-2006, 04:18 PM#2
iNfraNe
since this can be either "true of false" it is under boolean comparison.
06-22-2006, 04:28 PM#3
darkwulfv
Yea i found it there, but I wasn't sure if there was an event to kick it off. That works, thx.
06-22-2006, 05:17 PM#4
iNfraNe
Oh you really ment event. I see, well you could capture the spell that casts the buff on the unit? unless it is an aura.
For aura's you need periodic triggers that check buffs on all units surrounding the hero.

At least there is no "unit gets a buff" event.
06-22-2006, 06:16 PM#5
Ghost.X
It depends on why you want the buff to be checked. If you just want a trigger to apply to the units with buff. Try something like adding units with buff to unit group, then apply the actions to that unit group. Then make another trigger with a periodic event that checks the units in unit group with specific buff equal to false then remove those units. That should work just fine.

Yeah i'm just trying to help people with what I know.

PS: WOW FINALY POSITIVE REP! TY BLADE!