| 05-07-2008, 10:28 PM | #1 |
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 |
Are you doing this during a spell cast? |
| 05-08-2008, 03:28 AM | #3 | |
Is the unit paused by any chance? You can also try the native SetUnitAnimationByIndex()... (unit,idinteger) Quote:
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 | |
Quote:
|
| 05-08-2008, 03:35 AM | #5 | ||
Quote:
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:
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 |
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 |
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. |
