Forum Discussion
Storyline States
I am running into an "Issue" that I haven't noticed before.
I posted a small screenshot below. I have 3 buttons with Normal, Visited, Disabled states. Visited has a Checkmark, Disabled is the Lock image.
When starting on the slide button 2 and 3 are in disabled state and can't be unlocked until the button before is clicked. So Blue Button one is clicked, It shows visited state and a layer appears. It also unlocks Blue button 2. When Button 2 is selected, the state changes to visited, a different layer appears, and Button 3 is unlocked.
My "Issue" is when All three buttons are unlocked and I go back to select a button to view the layer, it removes the previous visited state. What am I missing? Shouldn't the visited state stay active once it's visited?
Based on your description and the video, I assume you have a trigger that says "Change the state of Blue button 2 to Normal when the user clicks Blue button 1" (or something like that. That trigger is what reverts a button back to the normal state if the user re-clicks the previous button.
To prevent that from happening, you need to add a condition to the "change to Normal" triggers. For example: "if the state of Blue button 2 = Disabled." Or "if the state of Blue button 2 ≠ Visited." Then the trigger will only run if the condition is met.
- JudyNolletSuper Hero
Based on your description and the video, I assume you have a trigger that says "Change the state of Blue button 2 to Normal when the user clicks Blue button 1" (or something like that. That trigger is what reverts a button back to the normal state if the user re-clicks the previous button.
To prevent that from happening, you need to add a condition to the "change to Normal" triggers. For example: "if the state of Blue button 2 = Disabled." Or "if the state of Blue button 2 ≠ Visited." Then the trigger will only run if the condition is met.
- TarynPierceCommunity Member
JudyNollet That worked! Thank-you very much for the suggestion!