Using AND and OR together?
Jan 30, 2017
Hi all,
I'm attempting to make a state change occur when 8 of 16 buttons are pushed - however, I don't care which of the 16 they push, just that 8 of them are selected. My first instinct was to do this with a conditional trigger: change state of x when y variable changes (I'm adding the numbers on these buttons together) IF 8 of these 16 conditions are met.
However, I'm not sure that's going to work. All I'm seeing is distinct AND/OR conditions, without a way to combine them. Is there a way to do this without having to create all the triggers that list out all of the specific conditions under which they should work?
I'm still using Storyline 2.
2 Replies
Adjust ButtonsPushed to 0 when Submit is clicked
Add 1 to ButtonsPushed when Submit is clicked if Button1 is pushed
Add 1 to ButtonsPushed when Submit is clicked if Button2 is pushed
etc.
Answer is correct if and only if ButtonsPushed = 8
It is a lot easier to do the checking all at once at the end than it is to try and add when a button is pushed, and subtract when it is deselected.
Hi StatEase
Walt is on the ball here
My example attached is of similar idea
This discussion is closed. You can start a new discussion or contact Articulate Support.