Needing help with variables, states and layers

Jun 27, 2019

Hello! Please help if you can.

I have a course that has 3 layers. There is a button for each of the 3 layers on the base layer. I also have one narration file imported on the base layer. I want to have the learner click on each of the layers AND listen for the narration all the way through in order for a custom next button to appear. So far I have set up variables to visit the 3 layers as True/False and the next button appears but I cannot get the narration piece setup correctly as a variable. Has anyone done this before?

9 Replies
Brian Allen

Completely agree with Nancy, more info would be very helpful here. Any way you can share your .story file here?

If I'm reading this correctly, I'm not sure you need a variable for your narration. It sounds like you don't want the button for the next layer to appear until after the narration has ended for the current layer?

Jerry Beaucaire

I use narrations on layers every week.  In my opinion the simplest way to do this cleanly is to break up the narrations and put the appropriate "piece" of the narrative on each layer's timeline.

On a rare occasion I've used a long base narration with layers that show and hide themselves along the way, but when the user has clickables, I'd recommend separating the narrative elements into the layers as well.

Rachel Wolf

Hi Nancy, I am wanting the user to hear the narration all the way through AND click the 3 layers before they are able to move on to the next slide. They could click layers while narration plays, either way works. I am thinking I do not need a custom next button if it can be done with the previous and next button that is built in Storyline, but am not sure.

Thanks!

Nancy Woinoski

Hi Rachel, I think you are going to need at least one variable regardless of the method you use. 

Here is how I would do it.

1. Create a true/false variable that you will use to trigger the completion of the audio.

2. On the base layer (the one with the audio) create a trigger to change the state of the next button to hidden when the timeline starts.

2. On the base layer create a trigger to set the audio variable to true when the media completes (your audio file).

3. On the base layer create a trigger that changes the state of the next button to normal when the button states for all your clickable buttons are set to visited,  and the audio variable is true.

4. On the base layer create a trigger to change the state of the next button to normal when the audio completes and the button states for all your buttons are visited.

I've attached a story file so you can see how I set this up.

 

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