Forum Discussion
Help needed with buttons sets and triggers/variables
For anyone that reads this thread, I'd like to answer DWK's questions.
So do I need to set triggers on each button in a set that the other buttons are false when they select one (that becomes true)?
No, the point of a button set is that if one is selected, all the others are not selected. You don't necessarily need that function, so I probably confused some people when I said button set. I was using it in your sense. As I understand your original post, you only need to know if one of the buttons in a "set" (or perhaps more clearly "group") has been clicked. (Set in the sense of a series of related buttons, not a formal "button set".) So your need is that if any of the three is clicked, that group is considered answered. That is why I suggested associating a variable with each group, and setting it to true when any one of the buttons was clicked. That means each button will have a trigger similar to "Set GroupOneVariable to true when button 1 is clicked", etc.
I don't know how to access/adjust the variable associated with the button sets.
The association is in your mind. GroupOneVariable is associated with the first group of buttons. These variables are not already there, you have to create them.
One form of access is the previously mentioned trigger that sets their value. The rest of the access is to create another trigger for each variable, similar to "Change state of Next button to Normal when GroupOneVariable is changed if GroupTwoVariable = true AND ifGroupThreeVariable = true. This is all based on my understanding that it doesn't matter if the learner clicks other buttons out of group 1, or which one of that group they click, only that there must be one chosen out of each group.
Thanks for going back and addressing those questions!
Related Content
- 6 months ago
- 6 months ago