Compound Animation String via GUI Trigger?

Level 21
Joined
Mar 16, 2008
Messages
955
Trying to get a unit to play a compound animation (something like walk+channel) by trigger. Not sure how to get it right. Separating with a comma or space doesn't seem to work. Any tips?

  • Animation - Play FC_Unit_00[FC_Integer_Index[2]]'s walk, channel animation
1742153294415.png
 
Level 24
Joined
Feb 27, 2019
Messages
833
Adding the animation tag "channel" causes the unit to normally play alternate animations. Good for replacing animations entirely, such as adding "alternate" to DH to make it normally play metamorphed animations.
SetUnitAnimationByIndex() can play any of a units animations. Better when only playing a single animation that cant be accessed otherwise such as Attack - 2 or Stand - 4.
Playing the walk channel animation should be "walk channel". Is there something else causing the problem or is something wrong with the model? Animations change all the time such as when the unit is issued a new order or when it just cycles to the next animation. So like playing walk channel while the unit is walking wouldnt work. Playing it at starts the effect of an ability wouldnt work either cuz the animation will be overwritten in the next frame.
 
Last edited:
Top