| 12-28-2005, 05:42 PM | #1 |
Demon Hunter has a animation called "Attack 2" How do i put that in Art - Animation Names for an ability? attack,two?? I tried also attack,2 It doesnt seem to be working... I based on the spell, blade storm... |
| 12-28-2005, 06:08 PM | #2 |
Humm, maybe "attack" in the first one and "2" in the second one, " attack two" will never work cause blizz animation system is too strict in names. |
| 12-28-2005, 06:42 PM | #3 |
Doesn't work, the solution is to either rename the animations in the model file (VERY bad solution) or use the SetUnitAnimationByIndexNative. Every animation has a number (starting from 0) use it with a trigger that calls the native when the spell is cast, change the number untill you find the correct one. Syntax:call SetUnitAnimationByIndex(whichUnit, index) |
| 12-28-2005, 07:06 PM | #4 |
yes i've found that the set animation only works for stand animations (e.g. stand work, stand -2, etc) and blade it's easier than that, just select the unit, and then go to the previewer, besides each animation shoud have it's index number I think. |
| 12-28-2005, 08:44 PM | #5 |
Yes, but you will still need the native . |
| 12-28-2005, 09:42 PM | #6 |
Here is a good tool to find the animation index the tool made by Buster. |
| 12-29-2005, 11:17 AM | #7 |
Thx guys.. all these help alot! =) Thanks! |
