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

Problem about animations

Status
Not open for further replies.
Level 7
Joined
Sep 11, 2013
Messages
220
I have a unit that has a Stand and Stand Ready ability.
When I give it the Stand Ready animation through triggers, it works, but when it attacks an enemy, the stand ready animation goes away and it just uses the stand (normal) animation. Is there a way to make it still use the Stand Ready animation even after it attacks?
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
That doesn't do it either.

Both the action I showed and the object editor approach do work, the problem is that the "Ready" animation is played in combat and the game automatically detects it.
Actually, upon start of combat the game itself adds the "ready" tag for the unit and upon exiting combat it automatically removes it, hence why it "doesn't work".

You actually need to either:
a) Make that a standalone animation (e.g. renaming it from Stand Ready to for example Stand - 3 or Stand Alternate, etc.)
or b) Catch when said unit attacks anyone, add it in group, check if that unit is in combat (dunno how efficiently tho) and if not, add the animation tag to it.
 
Status
Not open for further replies.
Top