Syntax errors in Lua code in Behavior Designer integration
Posted: Mon Feb 22, 2021 3:22 pm
Hello
I am building a Behavior Designer tree and am using the Dialogue System integration. At the start of a behavior sequence, I'm testing a Lua variable. However, Lua is reporting syntax errors in this code. I can't find anything wrong with it; am I missing something?
The variable is defined in DS; I've confirmed that DS works with this setup as BD tasks can start conversations with no problem. I tried tracing into the Lua interpreter, and it *seems* as if the "!=" operator isn't being parsed, though I could be wrong about that.
I am building a Behavior Designer tree and am using the Dialogue System integration. At the start of a behavior sequence, I'm testing a Lua variable. However, Lua is reporting syntax errors in this code. I can't find anything wrong with it; am I missing something?
Code: Select all
Variable["GrandmotherSpidermet"] != true