Restricting advancement

Hi, I'm a new Storyline user hoping someone can help me. I have a few slides with layes within my presentation. Each layer represents an example the user must review. I'm allowing the examples to be viewed in any order the user desires. However, I don't want them to be able to leave the base slide until all examples (4 per slide) have been openned.  I thought my solutions might be a variable (which I've never used), but that doesn't seem to be it. Can someone help me?

9 Replies
Christine Hendrickson

Hi there Karel!

Actually you can do something like this with variables. How are the layers/examples being accessed? Are the users clicking on buttons to access them? How are they exiting the layers? Are they interacting with anything on the layers to close the layers, or are they closing with the timeline?

What I would do, is create either multiple True/False variables for each layer, or a number variable that would increase with each layer. When either all of the True/False variables change to true, or the number variable equals the amount of each layer, you could have them move forward.

Here's an example of how I would do this:

  • Layer accessed: By button click on main slide
  • Number variable: Initial value of "0"
  • Trigger - Adjust Variable: Add + 1 when user clicks on button1, button2, button3 and button4. 
  • Trigger for "Jump to" next slide when the user clicks "Next" - Add condition - If number variable is equal to or greater than "4". 

Using that example above, the slide should only jump to the next section or slide if that variable is equal to the layer numbers.

Here's some tutorials that may help make this a little easier:

The order in which triggers are executed in Storyline

Adding and Editing Triggers

Working with States, Triggers, and Layers

Using a Simple Storyline Number Variable to Show Learners How Many Objects They've Found

***Working with Variables

I hope this helps! Please let me know if you have any questions.

Have a great day and good luck with the project :)

Karel Wagner

Wow, Thanks Christine.

You have described exactly what I've put together. They click a button labeled example 1, example 2 etc. Each layer has a back button to come back to the base layer. Once they return, the example button for the one they've viewed shows visited. I don't want them to be able to leave the base slide until all are visted. I'll try your suggestions and let you know what happens. Thanks so much!!

James McLuckie

Another way of dong this, Karel, is to have your buttons as a button set. (You literally just select all of the buttons on the base layer > right click > buttons set > button set 1). The button for the learner to move on to the next screen has an initial state of hidden. 

You can then set up a trigger Change State of > [Navigation Button] > to Normal > When all of [buttons] are > Visited. 

Christine's example also works very well, and I have used it on a few occasions. You just need to make sure that you also add a condition that the the counter is only adjusted the first time the learner selects a button. Otherwise they could press the same button four times, and could be allowed to move on. 

Marilyn Lydic

I don't know if I'm posting this in the right place, but I'm having trouble with layers and triggers.  I created buttons on a slide, but when I try to use the trigger tutorial, my view is not the as the tutorial.  The list of buttons on the bottom right does not show up and the assign to does not list my buttons.  Can anyone tell me what I'm missing?

Bruce Graham

Marilyn Lydic said:

I don't know if I'm posting this in the right place, but I'm having trouble with layers and triggers.  I created buttons on a slide, but when I try to use the trigger tutorial, my view is not the as the tutorial.  The list of buttons on the bottom right does not show up and the assign to does not list my buttons.  Can anyone tell me what I'm missing?


Hi,

As Rebecca says - could we have an example?

Just looking at what you have written, and guessing at something I have done myself many times, my guess would be that you have built he buttons but not on the Base Layer - hence...when you Preview they cannot be seen.

Either that or they appear a long way along the Timeline, and you close before they have had time to show.

May of course be something else completely! 

Bruce