State not changing to Normal

Sep 08, 2023

I've checked my work multiple times and think I'm following all the rules. I have base with 4 layers. Each layer changes a variable to True. When all 4 are true, upon returning to the base, a button is supposed to become Normal. It is not. Sometimes I find that doing the opposite, such as putting a cover over a normal state button and the cover becomes hidden upon meeting the triggers works, but it's not working here, either. I'll then have 8 more objects I'll need to become normal state when all 4 variables are true, but I can't get any of it to work. I'm hoping someone can shed some light and offer a solution to this problem that I've spent 1/2 a day on.

3 Replies
Judy Nollet

The "when" for your trigger to change the button to Normal was "when the timeline starts." That doesn't happen when the user closes a layer. And that's why it doesn't run even when the variables are true. 

For this sort of click-and-reveal, you don't need variables at all. Just change the "See it move" button to Normal when the state of the 4 buttons = Visited (as per the edited slide in the attached file). 

Judy Nollet

Glad to hear you got your file working! Having the program check for Visited states is a simple "when" to make something happen on a click-and-reveal slide. 

Variables are worthwhile in some instances. For example, if the user needs to finish the timeline on each layer, it makes sense to have T/F variables to track whether each layer has been completed before enabling the NEXT (or other) button. You just need a "when" that will occur. A typical one would be "when ___ variable changes," with appropriate condition(s) added. 

In case you're interested, here's my post about troubleshooting (which includes a link to a recorded webinar): https://community.articulate.com/discussions/articulate-storyline/tip-the-eightfold-path-of-troubleshooting