• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

How does BlzSpecialEffectAddSubAnimation actually work?

Status
Not open for further replies.
Level 3
Joined
Jul 28, 2010
Messages
38
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
38
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