Help with states and triggers

Feb 11, 2013

Hi, I am trying to set up my course so that learners cannot move on until the slide time line has completed. I have created a True/False variable set to false as a default. I then went to the slide and created a trigger to change the state of the variable to True when the time line completes. I have then adjusted the player control by adding a condition to jump to next slide if the variable is true.

However, when I preview the slides it allows you to move to the next slide before it has finished. Any advice would be appreciated.

Thanks

11 Replies
John Papiernik

It also depends on the order of your triggers. If they are in the wrong order, they will not work.

Do you have any buttons on the screen (or objects)? One way I found to hold learners from progressing before the slide is done is as follows.

I create a new state for all the buttons, or for one object on the screen. I place a trigger in to the "change the state of" that object when the timeline ends. Then I place a condition on the "next" button to only work if the object I picked has a state of "whatever I set".

If you have multiple buttons, set a "visited" state, and then condition the next button to not work until they are all changed to the "visited" state.

Hope all that makes sense.

Cindy Riddle

I am having a similar problem. I have several slides within a course in which I am walking through a procedure. I have 7 buttons at the bottom of the slide and the student must view all layers (each button) before moving to the next slide. 

The first slide works exactly the way I want it to. Any slides in which I used the same instructions - the user can click the Next button and move on to the next slide without viewing the remaining layers on the initial slide. I can't figure out what I'm doing wrong.

Rebecca Fleisch Cordeiro

Hi Cindy,

Without seeing your story, it's not as easy to troubleshoot. But here's what I think is happening:

In Slide 1, after all the layers are visited, you've set the variable (StepsComplete) to true. This achieves your goal of restricting the Learner to NOT move to Slide 2 until they've viewed all layers on Slide 1. So far, so good.

Then I'm thinking perhaps you haven't done anything else with the variable. Since it's set to true, Learners can move to slide 3 without going through all the layers on Slide 2.

What you might do is: on Slide 2 (and subsequent slides) set the variable (StepsComplete) to false when the timeline starts.

See if that works - if not, perhaps you can upload your story?

Rebecca Fleisch Cordeiro

Hi Cindy,

Re John's statement: "you could probably use the same variable...set a trigger to reset the variable when the timeline starts..." - this is what I was referring to when I said: "What you might do is: on Slide 2 (and subsequent slides) set the variable (StepsComplete) to false when the timeline starts."

This way it's unnecessary to create more than one variable.

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