Page 1 of 1

How can I change the bool from the animator during the dialogue?

Posted: Sun Jan 21, 2024 3:10 am
by PinkPanther
How can I change the bool from the animator during the dialogue? I tried using the Animation Book function, but I get an error. I don't understand what I was wrong about. (((The object that contains the Animator is not an actor)
I've read both the forum and the documentation, but I don't understand where my mistake is :?
Error:Dialogue System: Lua code 'AnimatorBool(Bool_2, true, marshmallow);
' threw exception 'Tried to invoke a function call on a non-function value. If you're calling a function, is it registered with Lua?'
Image
Image
Image
Image

Re: How can I change the bool from the animator during the dialogue?

Posted: Sun Jan 21, 2024 8:14 am
by Tony Li
Hello,

AnimatorBool() is a sequencer command. Please put it in the Sequence field, not the Script field.