Bug with SimStatus and Variables

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
gblekkenhorst
Posts: 83
Joined: Wed Jun 24, 2020 5:06 pm

Bug with SimStatus and Variables

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

Re: Bug with SimStatus and Variables

Post 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.
Post Reply