Howdy,
So, I confirmed that I'm receiving the correct values for a variable when I access it during a dialogue,
I have two branches, with the following conditions:
Variable["DiceValue"] >= 10
Variable["DiceValue"] < 9
But the condition always 'fails' (<9) even when the value is greater than 10. What am I doing wrong here?
Lua variable conditions
Re: Lua variable conditions
you know what - scratch that, I'm accessing the variable before it gets set. Not sure how thats happening yet but ok.
Re: Lua variable conditions
Could it be related to: Conversations Evaluate Conditions One Extra Level Ahead
Conversations need to evaluate an extra step ahead to accommodate certain continue button modes.
Conversations need to evaluate an extra step ahead to accommodate certain continue button modes.
Re: Lua variable conditions
pretty sure that's what it was yeah
Re: Lua variable conditions
Hi,
Sorry, I know that often throws people. Unfortunately it has to work that way for those pesky continue button modes.
Sorry, I know that often throws people. Unfortunately it has to work that way for those pesky continue button modes.