Forum Discussion
Variable changing but state not updating
re: slide 1.2
This trigger is a problem.
Here's what happens when the user clicks the final button: The program shows the associated layer. However, you don't see that layer, because all the buttons are Visited and the program shows the "Jasmine predicament" layer.
FYI: You don't need any triggers to change an object to Visited. Any object with a Visited state will automatically change to that state when clicked. That functionality is built in. Here's more info: PRIMER: Take advantage of built-in states | Articulate - Community
My suggestion: put a button on the base with an initial state of Hidden. Give that button a trigger to show the summary layer. Edit the trigger shown above so it changes that button to Normal when the other buttons are Visited. That will let the user click it after they close the last layer.
- This also lets the user decide when they are ready to move to the summary layer.
re: slide 1.3
Again, you don't need any of the triggers that change objects to Visited.
The states of the duplicated buttons on the "muted" layer aren't changing because the triggers say to change the button on the base (not the layer). For example:
Also, you don't need triggers to stop audio on a layer when the layer closes. That will happen automatically.
As with the other slide, I think it's best to provide a button for accessing the summary layer after the user completes the interaction.
It worked beautifully, thank you so much.