Im using the villager many animations and i give him different animations each time he changes weapon. im wondering about a few things:
-Do i have to remove the previous animation tag to prevend bugs/leaks before i change it again? like this:
-When i use the defend ability i always get some problem. how would u all recommend this? I now got:
Or is there an much better way to change animations? i prefer not to use JASS
-Do i have to remove the previous animation tag to prevend bugs/leaks before i change it again? like this:
-
Animation - Remove the Alternate animation tag to Hero_Player_Number[(Player number of (Owner of (Triggering unit)))]
-When i use the defend ability i always get some problem. how would u all recommend this? I now got:
-
use defend
-
Events
-
Unit - A unit Is issued an order with no target
-
-
Conditions
-
(Issued order) Equal to (Order(defend))
-
-
Actions
-
Wait 0.01 seconds
-
Animation - Remove the alternate animation tag to (Triggering unit)
-
Animation - Add the defend animation tag to (Triggering unit)
-
-
-
stop defend
-
Events
-
Unit - A unit Is issued an order with no target
-
-
Conditions
-
(Issued order) Equal to (Order(undefend))
-
-
Actions
-
Wait 0.01 seconds
-
Animation - Remove the defend animation tag to (Triggering unit)
-
Animation - Add the alternate animation tag to (Triggering unit)
-
-
Or is there an much better way to change animations? i prefer not to use JASS