Forum Discussion

EricSchaffer-d1's avatar
EricSchaffer-d1
Community Member
2 years ago

Returning to buttons to lock

This is driving me crazy. I have a slide with 5 buttons. Each button takes the learner to a scene. There are several slides in each scene. At the end of each scene the learner clicks the next button to go back to the original slide to choose another scene. Part of this works. What I can't get working is preventing them from choosing the same scene again. I want the button to lock.

Any help would be appreciated.

    • I'd use a T/F variable at the scene to track that the scene was visited.
      • Example: var_scene1visited = false
      • Somewhere in the scene add a trigger to adjust variable to true
    • On the main slide
      • Add a disabled state to each button
      • Add a trigger to change the state of the button to disabled when the timeline of the slide starts on the condition that var_scenevisited = true

     

  • Somewhere in the scene add a trigger to adjust variable to true

     

    Only use somewhere if you want them to get credit for viewing the scene even if they return before the end. If you want them to go all the way to the end, adjust that variable only at the end - that is, the last trigger before the jump that returns them to the slide with 5 buttons.

     

    Otherwise, what Tom says is the best method to do what you describe.