Warcraft III resources & community, 2003–2006 · archived

Locoust?

6 posts
#1

Locoust?

How can i add the spell locust to a unit with trigger?
#2
im assuming that means its unaddable in GUI

in that case, assign the unit you want to a Unit variable called U ( just so that i dont have to get EXACTLY what you want to write this )

then, put this in

Custom Script: call UnitAddAbility( udg_U, 'Aloc' )
#3
And to remove it is:
Custom Script: call UnitRemoveAbility( udg_U, 'Aloc' )
?
#4
You could just give it the ability as base, disable the ability by default at the player settings, and have a trigger enable the ability, automatically giving the unit locust. (for the non-jass dummies ^_^)
#5
Angel - that would mean that no dummies could use it until you enabled it

and, sadly, that WOULD be the solution, but you cant remove locust - once its there, its not moving.