#Does `SetSequence()` not work?

1 messages · Page 1 of 1 (latest)

clear isle
#

I'm trying to get a hero to play a specific animation, not an activity enum. On ability start, I did:

self:GetCaster():SetSequence( "tiny_02_attack1" )

I made sure I am using the correct model that goes with that specific animation. The code before and after work perfectly and I get no errors.

desert musk
#

you cant play sequences directly outside of particle effects and scene maps.

#

the SetSequence function will probably work for something that doesnt have ANY animation activities (or at least none that auto-play, like idle), but for everything else valves animation system will override your SetSequence and reset it next frame

clear isle
#

Damn. ty

clear isle
#

Lol, I found a way to do it. Just start the activity gesture that CAN run that sequence, then SetSequence(). Then it works just fine.

verbal kernel