HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Removing Effects

02-24-2009, 12:56 AM#1
Joker
Is it possible to remove an effect from a unit without a variable for the effect? (Not the DestroyEffect( AddSpecial... )))
02-24-2009, 01:14 AM#2
akolyt0r
not really ...
of course you could add the effects using some dummy passive ability (tornado slow aura for example) ..
and then just remove the ability

why dont you want to use a variable anyway ?...

of course there are some timed effects libraries around somewhere ..
im pretty sure they can be used something like that (example!)
Collapse JASS:
call UnitAddTimedEffect(u,AddSpecialEffect(...),10)
02-24-2009, 01:21 AM#3
xombie
Its kind of like asking...

Is there a way to destroy an effect without any means of referencing it? Can you destroy anything at all without directly referencing it?