Values not changing with state change
Jan 09, 2020
Hi - I have set up 18 buttons, each with a selected state, each defaulting to normal. Each button has an associated variable, defaulting to false. I have two triggers for each button: 1) when the button state is set to selected, set the variable to true, and 2) when the button state is set to normal, set the variable to false.
The variables do change to true when a button is selected, but then when I deselect a button (and the button state changes to normal) the variable remains as true.
Any reason for this and way to remedy?
Much thanks,
Amy
4 Replies
Never mind - I solved it by changing my triggers to "toggle" variable rather than "set to true," "set to false." Working now, thank you.
Just an FYI, the original didn't work because "Selected" (just like most of us) frequently reports itself as a "normal" state. Toggle is pretty much the only way to make something like this work.
or use not equal to selected, toggle is less triggers
Thank you Walt, thank you Phil.
This post was removed by the author
This discussion is closed. You can start a new discussion or contact Articulate Support.