21 posts Argentina joined 2006-05-18
#1 2006-10-27
Locoust? How can i add the spell locust to a unit with trigger?
1,418 posts Here joined 2005-12-14
#2 2006-10-27
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' )
21 posts Argentina joined 2006-05-18
#3 2006-10-28
And to remove it is:
Custom Script: call UnitRemoveAbility( udg_U, 'Aloc' )
?
458 posts joined 2004-09-08
#4 2006-10-28
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 ^_^)
1,418 posts Here joined 2005-12-14
#5 2006-10-28
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.
21 posts Argentina joined 2006-05-18
#6 2006-10-28
Ok, tks anyway