• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Playing a specific animation

Status
Not open for further replies.
Level 10
Joined
Feb 18, 2008
Messages
262
The model I use have to attack slam animations - attack slam, and attack slam - 2. I want to use always the first animation when he casts a spell, what should I do?

attack, slam not works, he plays random a animation between 1 and 2
attack,slam,1 not works...the same happens
 
Level 5
Joined
Aug 24, 2008
Messages
199
Their might be a better way to do this but you could use triggers delete all animations of the spell. Then add a trigger.

  • Event
    • Unit - (Your Unit) stats casting a spell
  • Condition
    • Ability being cast equal to (your Spell)
  • Action
    • Animation play (Your Unit) slam - 2 animation
 
Level 14
Joined
Jul 26, 2008
Messages
1,009
Actually the best way to do this is to edit the model itself. Download Magos Model Editor. Then, open up the model. Go to Windows>Sequence Manager. Then, find the Attack Slam animation you don't want. Rename it to something like Spell Slam or Spell or any other thing you might think it's more appropriate to.

If you don't want it at all, download Yogbul's file converted and convert it to .mdl. Then, get oinerwinkles animremover and remove the animation from the file, thus reducing it's file size.

Then, reimport it when you're satisfied. That's the route I'd take.

Hopefully that's an option for you.
 
Level 12
Joined
Apr 15, 2008
Messages
1,063
  • Event
    • Unit - (Your Unit) stats casting a spell
  • Condition
    • Ability being cast equal to (your Spell)
  • Action
    • Animation play (Your Unit) slam - 2 animation
Just try using "Play unit animation (specify rarity)" action instead of "Play unit animation" action, and set the rarity to Common. It should use the first slam animation only.
 
Status
Not open for further replies.
Top