Using variables to keep track of progess and then change the state of an object

Jun 29, 2023

Hi, everyone. I created a branching activity where the learner is presented a scenario and there are three options on how the learner can address the problem presented in the scenario. The learner has to review each option, and each option is a scene. We will call them A, B, and C.


There is a slide that has three buttons, one for each option (A, B, and C), and I have three T/F variables, one for each option. When the learner reaches the last slide of an option's scene, that option's variable changes to True, and the learner returns to the slide with the three buttons.


What I was hoping to accomplish is that after the learner has visited all three scenes, I can change the state of a continue button from hidden to normal on the slide with the three buttons so the learner can continue working on the activity. The variables work in that they change to True once a scene is completed; however, the continue button does not change to normal. To see if there is something with the trigger I created for the continue button to become normal once all three variables equal True, I created a trigger that the continue button changes to normal once all three buttons are visited. This works, but I don't like it because the continue button appears once the learner clicks the remaining button, a millisecond before they are taken to the respective scene for that option. Can anyone tell me what I'm doing wrong by trying to use the variables in this manner? Thank you for your help in advance!

1 Reply
Judy Nollet

It's hard to troubleshoot without seeing the .story file, but I'll give it a shot.

Best guess: Your trigger to change the button runs when a variable changes, but the variable doesn't change on the slide where that trigger is. Which means the trigger will never run. 

Or there's something else wrong with the "when" of the trigger that changes the Continue button to Normal.

FYI: What you're describing is, in essence, a custom menu slide. Here's a post about those that might help: https://community.articulate.com/discussions/articulate-storyline/create-a-custom-menu-slide