Lua conditions can't be entered: Internal Error Building Condition
Posted: Thu Jan 21, 2021 9:04 am
Hi Tony,
I'm not sure how I did it but I've managed to break the LUA conditions section of the Dialogue System trigger. Selecting either 'Variable' or 'Custom' from the condition Wizard throws an "Internal error building condition" and doesn't retain anything I enter into the box. In the lead up to this I had been changing functions in a 'MyLuaFunctions' script and I did delete a variable from the Database, so some combination of actions I took must have broken the wizard somehow.
Here's a screenshot of the error I get. This is the error I get when selecting 'Custom' from the drop down menu. The same error is shown when selecting Variables except the error is "Index was outside the bounds of the array" instead of Object reference missing.
Let me know what else you might need to get to the bottom of this.
Cheers,
Rob
I'm not sure how I did it but I've managed to break the LUA conditions section of the Dialogue System trigger. Selecting either 'Variable' or 'Custom' from the condition Wizard throws an "Internal error building condition" and doesn't retain anything I enter into the box. In the lead up to this I had been changing functions in a 'MyLuaFunctions' script and I did delete a variable from the Database, so some combination of actions I took must have broken the wizard somehow.
Here's a screenshot of the error I get. This is the error I get when selecting 'Custom' from the drop down menu. The same error is shown when selecting Variables except the error is "Index was outside the bounds of the array" instead of Object reference missing.
Let me know what else you might need to get to the bottom of this.
Cheers,
Rob