• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Solved] Attack animations

Status
Not open for further replies.
Level 7
Joined
Aug 19, 2009
Messages
278
Hi guys..


I have a imported model. It has 4 attack animations.

When I play the animation "Attack 4" using triggers, it uses the "Attack Slam" animation.

I have seen the model in model viewer, it has an "Attack 4" Animation. But it doesn't play that animation using triggers.
 
Level 7
Joined
Aug 19, 2009
Messages
278
Use native SetUnitAnimationByIndex takes unit whichUnit, integer whichAnimation returns nothing
Try every index until you find the good one :)

Worked thanks...

I use model viewew and the animation there are in order so it was easy for me to find the correct one.
 
Status
Not open for further replies.
Top