• 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.

[Solved] Change unit's attack animation

Status
Not open for further replies.
Level 8
Joined
Apr 23, 2011
Messages
322
How to change unit's attack animation?

Example:
A unit has attack 1,2 and 3; that unit plays a random "attack" animation every time it attacks, so...
I want that unit's "attack 1" to be played when unit uses its first attack;
"attack 2" when it uses its second attack;
and "attack 3" when it bashes(not critical)

I tried changing animation names in sequence editor (model editor), but it didn't work.Also:how to make unit's "spell" animation play when it attacks?
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
  • Animation - add spell animation tag to unit
Will make it play its spell animation on attack, provided the animation is called "attack spell". Not all units' spell animation are called this.

For the rest, you can rename the animations to e.g.
attack alternate
attack lumber
attack gold
And then add/remove the relevant animation tag.
 

sentrywiz

S

sentrywiz

The first question, if you need specific animations tied with specific "dummy spell casts" then you can modify the animation tab in each spell. You can put "attack, one" "attack, two", "attack, three" on spell cast. You can put whatever animation you like though, just be careful to see if the unit has those attack animations, otherwise it will just stand.

The second question, maybe a forceful trigger code "Unit Attacks" event you can forcefully cast the unit's cast spell animation.
 
Status
Not open for further replies.
Top