HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can't get grunt attack animation to play

05-07-2008, 10:28 PM#1
westwastingtime
i have the required animation name as "attack" but the animation doesn't play. any idea why?
attack is also the first string and there are no other strings
05-08-2008, 12:25 AM#2
Vexorian
Are you doing this during a spell cast?
05-08-2008, 03:28 AM#3
PurgeandFire111
Is the unit paused by any chance? You can also try the native SetUnitAnimationByIndex()... (unit,idinteger)

Quote:
Are you doing this during a spell cast?

I assume yes, because I'm pretty sure he is referring to the "Animation Names" field or whatever it is.
05-08-2008, 03:31 AM#4
Vexorian
Quote:
I assume yes, because I'm pretty sure he is referring to the "Animation Names" field or whatever it is.
why?
05-08-2008, 03:35 AM#5
PurgeandFire111
Quote:
Originally Posted by Vexorian
why?

Sorry, I meant in the object editor. So he wants it to play as a cast animation. And he also hinted it kind of by using this:
Quote:
attack is also the first string and there are no other strings

Code:
Art - Animation Names (aani)

So I assume that he meant the field in the object editor for abilities.

I actually found the above field to do some weird stuff. It would play sometimes yet it wouldn't other times. An old test but I remember it not always working. It might've been conditional though...
05-08-2008, 03:56 AM#6
bomber7
I'm having this exact same problem. I have a spell, where I changed the "spell,throw" to "attack". Most of the time he does the attack animation, but sometimes he'll still play the cast animation. Its plain aggravating.
05-08-2008, 11:03 AM#7
westwastingtime
yes i am using the field in the object editor. but i think your right about it only playing sometimes because i got it to work with the male villager model.