Forum Discussion
Layers - Variables
One further thing to think about:
If you add the missing triggers that go like "Set Question 1 to Value True if user clicks Question 1", then that True/False trigger will change from the default value of False to True, but it will stay True, unless there is some other trigger that makes change to False again.
So if the user clicks first Question 1, and then changes their mind, and clicks Question 2, and then one the characters, now both Question 1 and Question 2 variables are True, so two different layers fulfill the requirements. And first one in order is the one the gets done, and not the rest, as we already jumped to a different place.
So if you have triggers in following order and both X and Y are true:
Show Layer A if X is True
Show Layer B if Y is True
Then it will go to Layer A.
But if triggers are like this:
Show Layer B if Y is True
Show Layer A if X is True
Then it will go to Layer B
So in order to make this work with True/False triggers you will need make sure that the Question 1 box has a trigger that makes Question 1 variable True, but also the other two False.
But personally I would not do this True/False triggers at all, I would use a number variable instead. It could start as "0" and then with a trigger change to 1 of Question 1 is clicked, chance to 2 if Question 2 is clicked and so on. This automatically makes sure that when one option is selected, the others are deselected without need for new triggers.
And then use that number variables value as "If" condition for other triggers