• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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