• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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