I'm trying to activate / deactivate an animation from a script, but regardless of what I do the animation only follows the activation rules set in the editor.
I have a animation for the character talking that I want to deactivate when they're not talking but, I can't get the animation to deactivate.
I have the following script attached.
function update () if (is_talking) then this:activate (557) else this:deactivate (557) move_with_buttons (this) end end
Has anyone encountered this problem / got any solutions ?
[Please log in to post a comment]