Using a check box with T/F variable to change state. The state doesn't toggle with the variable

Hi all, I'm building an interactive bingo board. The main slide is the bingo board, and then i have 25 additional slides for each activity on the board. 

I've put a check box on each of the 25 slides and linked it to a T/F variable. You do the task, you check the box, that square on the main page now changes state and shows that is has been "X"ed out.

I had initially set my 'X' graphics to visited and they appeared as soon as the square was clicked. I've solved that by just creating a new state.

However, what I can't figure out how to solve. Once I 'unclick' the task complete check box on the instruction slide it does not revert the box on the main bingo board page back to normal. Even if I add an extra trigger of 'when checkbox is 'normal' make the variable equal to false. 

I can't think of what else to try. I've focused my efforts on row 4, column 1 on the attached file, all of column 1 has a 'checked' state. (the bingo board squares and variables have the same naming scheme of row number and column number)

I need to walk away from this frustration for a bit. At least I know the next step is changing the state of 20 more objects. but what am I missing in the variables and triggers?

7 Replies
Phil Mayor

The checkbox isn't really linked to the variable it just changes the variable.

I would set the checkboxes to toggle the variable rather than set it and also set my slides to resume saved state, or add triggers to change the checkbox state based on the value of the assigned variable.

You need triggers on the game board to change state on timeline start based oil the value of the corresponding variable. I would also set this to saved state.

Walt Hamilton

Two things are frustrating you. One is that the change of a variable is only broadcast to the slide that changes it, so if your variable changes on a task slide, the menu slide doesn't hear it change, so triggers like this are never fired:

Far more insidious is  "When state of X(and Y) is ..." (Kick that soapbox over here.)  I'm on a one-man crusade to have it taken out of the "When" part of the trigger wizard. In programmer terms, the change of a state does not raise an event (or doesn't raise it correctly), so no trigger is initiated when it happens (or if it is, it is at random, if certain events align.) What that means in English is that "State is ..." is not an action, so how can it cause something to happen? That's why triggers like this don't work.


Notice it doesn't say "When state of X BECOMES  ...", which is how most people interpret it and want it to function. In fact, if it were written (programmed) that way, it would do what we expect it to.

The only way it can work in a trigger is if it is in the conditions portion.

(Getting off soapbox.)

You are on the right track with this trigger:


Now you need to change the Bingo triggers to be like this:


Now both your state changes and your Bingo triggers will work, because there is an actual event (timeline starts) to cause them to fire. You will also need to set the menu slide to reset to initial state when revisiting, so the timeline does start every time you visit it. (Which means you can't rely on the Visited states for the task slides, so you need triggers to set those states.

Rebecca Harrington

okay, i tried on my own, but how do i get a checkbox to toggle the variable? There is nothing in the trigger wizard is readily apparent. (i've also had my ten year old babbling all morning about a video game and i'm not working on a fully functional brain, so thanks for this assist). And the setting the slide to a resumed state?...that's a new one to me too.

Lauren Connelly

Hi everyone!

We released another update for Storyline 360 (Build 3.52.25156.0) today, which included a fix for the bug where a trigger that changed the state of an object after visiting other objects didn't work when the trigger was on a layer.

Update Storyline 360 in your Articulate 360 desktop app to take advantage of the newest fixes and features.

If you have any questions, you can reach our team in this discussion or in a support case.