How can I reveal a menu button only when all sections visited (Storyline 2)?

Sep 25, 2017

Can anyone tell me the best way to reveal a menu button only after the learner has completed the training? My training branches in the middle though, learners pick one path that's relevant for them, then come back for the final scene.  I wanted the menu button to be on every screen, but only visible after all relevant training has been taken.

13 Replies
Ashley Terwilliger-Pollard

Hi Pat,

Are you looking for a menu button on each slide, or the built in Storyline menu as a part of the sidebar?

There isn't a way to disable or hide the player menu, so following the directions in that one discussion about using restricted navigation would be an option.

If you had a menu button on each slide, you could use states and variables to control it. If it'll appear on every single slide look at adding it to a slide master that is used for all your slides. Here's a basic walk through of what that may look like:

  • Set the initial state of your button to hidden
  • Set up a trigger to change the state to normal when timeline starts on the condition that a custom variable "CourseComplete" is equal to True
  • Set the initial value of "Course Complete" to False
  • Add a trigger to your last slide to change the value of "CourseComplete" from False to True when the timeline of the last slide starts

Hope that helps and if you get stuck anywhere, share a copy of your .story file and then folks in the community can weigh in with ideas and specifics!

Pat Kyle

Actually I think I got excited too soon as the menu button does not persist on other screens if you go back or if you visit something on the menu link, something is changing the variable back to false again?

Heres what I did:

I created a True/False Variable called CourseComplete with default value = false

Master slide

On the main slide master I have a text box (inital state = hidden) called menu link that has trigger to show a layer that has the menu links

I created a trigger to change the state of object = menu link to normal when variable changes, variable = CourseComplete, on condition CourseComplete = = Equal to True

I tried variations of setting layer properties on revisits to resumed saved state, or Reset to initial state, not sure that impacts

Last slide

I have a trigger to adjust variable CourseComplete, Operator = Assignment, Value True when timeline starts on object = this slide

Can you see what I have done wrong?

Walt Hamilton

Change this trigger to fire when timeline starts and see if that helps.

I created a trigger to change the state of object = menu link to normal when variable changes, variable = CourseComplete, on condition CourseComplete = = Equal to True

Variable changes are observable only on the slide where they happen, so the only slide that fire this trigger and change the state is the one that changes the value of the variable.

Pat Kyle

Hi Walt

Thanks, when I make the change  you say (ie new settings shown in attached grab) , the 'button' does not appear at all.  In the version I did earlier above, it appeared but dissappeard as soon as I moved away so something was happening to make the variable revert to false again. I was assuming once it was true it would stay true for all slides.

If I am trying to do something that is not possible, can you let me know so that I can stop looking for solution?

Cheers, fingers crossed I'm just missing something?

Pat

Pat Kyle

Hi Walt, I have solved it (but I would not have got there without you :-).  I moved the trigger from the last learning slide to a single quiz slide (I just use to score completion if people confirm they understood).  The button does not appear on this slide only when I click to submit, it then appears on the results slide and then persists.  Thanks for keeping with me!

This discussion is closed. You can start a new discussion or contact Articulate Support.