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

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
PinkPanther
Posts: 12
Joined: Sun Aug 06, 2023 7:43 pm

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

Post 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
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Hello,

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