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

[General] Playing a unit's animation while it's stunned?

Status
Not open for further replies.
So, I am making a map which will include a custom combat system.

Taking damage (from most sources, but not all sources) will briefly stun you. I want to play a Stand Hit animation, and afterwards a Stand Channel animation. Stand Hit is a short, non-looping animation of the hero actually being hit. Stand Channel is sort of a dazed animation, in which the hero is staggering.

I am using GUI Stun System by Khaos Machine.

The problem is, when a unit is stunned, it will only play the Stand animation.



I would really appreciate help with this :)


EDIT: I know there is a function (line?) which will play a unit's animation by index, but if I am going to use it, I will need one more function that will Queue the Stand Channel animation.
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
So, I am making a map which will include a custom combat system.

Taking damage (from most sources, but not all sources) will briefly stun you. I want to play a Stand Hit animation, and afterwards a Stand Channel animation. Stand Hit is a short, non-looping animation of the hero actually being hit. Stand Channel is sort of a dazed animation, in which the hero is staggering.

I am using GUI Stun System by Khaos Machine.

The problem is, when a unit is stunned, it will only play the Stand animation.



I would really appreciate help with this :)


EDIT: I know there is a function (line?) which will play a unit's animation by index, but if I am going to use it, I will need one more function that will Queue the Stand Channel animation.

Well that function line that will play a unit's animation by index for me is the best way since it can be perform even if there are orders (like being stunned)..

Try on using it...
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,220
The system seems to use a dummy ability like stormbolt, so that likely means it's hardcoded. I doubt you can change it.

Technically you could force a unit to play an animation, however I am not completely sure if you can do that if stunned by a blizz-spell. I got no fact or experiance to back this up, it just feels odd :p

  • Animation - Play Paladin 0000 <gen>'s attack 2 animation
 
Status
Not open for further replies.
Top