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

How does BlzSpecialEffectAddSubAnimation actually work?

Status
Not open for further replies.
Level 3
Joined
Jul 28, 2010
Messages
37
I've tried putting it before BlzPlaySpecialEffect, after, before with a delay, just by itself, and together with BlzSpecialEffectRemoveSubAnimation, to no avail. I'm trying to play Stand Ready and Attack Slam, specifically. The effects simply play their regular stand/attack animation.
 
Level 3
Joined
Jul 28, 2010
Messages
37
The new natives use also-new natives called animtypes and subanimtypes, so for "stand,ready" I have to write BlzPlaySpecialEffect(sfx, ANIM_TYPE_STAND) and BlzAddSpecialEffectSubAnimation(sfx, SUBANIM_TYPE_READY) separately. That's what I believe, at least. Using just the subanimation function doesn't do anything for me and I can't find an animtype specific enough for what I need.
 
Status
Not open for further replies.
Top