Page 1 of 1

Bug with SimStatus and Variables

Posted: Sat Dec 10, 2022 12:33 pm
by gblekkenhorst
Ran into a weird bug. I'm using DS 2.2.33

I have a hub. When the response options have no conditions or just use Variable["L6.LAS"] <= 3, then Variable["L6.LAS"] = Variable["L6.LAS"] + 1 works as expected, it increases the number.

But now I'm trying to use the condition Dialog[43].SimStatus == "Untouched" and Variable["L6.LAS"] <= 3, the conditional works as expected, but for some reason now none of my variable increases work in the conversation.

Re: Bug with SimStatus and Variables

Posted: Sat Dec 10, 2022 1:21 pm
by Tony Li
Hmm, if it showed that node in the response menu, then the Conditions must have been true. And if you clicked the response, it should have run the Script and incremented the variable.

Can you try changing the Conditions to:

Code: Select all

Dialog[43].SimStatus ~= "WasDisplayed" and Variable["L6.LAS"] <= 3
Maybe the node is being set to WasOffered (meaning it was shown in a response menu but not picked yet) or something like that.