Variable doesn't get set correctly
Posted: Thu Jun 02, 2022 8:38 am
Hi Tony,
I created a variable "Room_Interactions" in the Dialogue Manager. I have 2 conversations in my game and at a certain point I add 1 to the created variable: Variable["Room_Interactions"] = Variable["Room_Interactions"] + 1;
After that dialogue entry I created another node with the condition: Variable["Room_Interactions"] >= 2
So these nodes only get triggered if the player had both Conversations so the variable is 2. But for some reason it gets triggered every time.
Is there a way to see when a Variable gets changed? It doesn't get updated at runtime in the manager itself even when I check the "Watchers" checkmark.
What am I doing wrong?
Thank you for your help!
I created a variable "Room_Interactions" in the Dialogue Manager. I have 2 conversations in my game and at a certain point I add 1 to the created variable: Variable["Room_Interactions"] = Variable["Room_Interactions"] + 1;
After that dialogue entry I created another node with the condition: Variable["Room_Interactions"] >= 2
So these nodes only get triggered if the player had both Conversations so the variable is 2. But for some reason it gets triggered every time.
Is there a way to see when a Variable gets changed? It doesn't get updated at runtime in the manager itself even when I check the "Watchers" checkmark.
What am I doing wrong?
Thank you for your help!