Log In  

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)
      this:deactivate (557)
      move_with_buttons (this)


Has anyone encountered this problem / got any solutions ?


P#60680 2019-01-08 15:22 ( Edited 2019-01-08 15:22)

[Please log in to post a comment]