Log In  
Log In  

@oueouiiaoo

Follow
Follow

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 ?

Thanks.

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

X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-03-25 06:40 | 0.042s | 2097k | Q:10