Forum Discussion
Assistance with Layers, Triggers, and Moving to Next Slide
- 13 days ago
Please find the attached story file.
I created three True/False variables (Obj1Complete, Obj2Complete, and Obj3Complete). Each variable is set to True when its corresponding audio on each layer finishes playing.I also created a Next button and set its initial state to Hidden. On each layer, I added a trigger that changes the state of the Next button to Normal when the layer’s audio completes, provided that all three Obj variables are True.
This way, the Next button will appear only after all audios have been completed, regardless of whether all layers have been visited.
If you don't require learners to listen to all the audio files, you could alternatively set the Next button to appear when all Obj buttons are in the Visited state (a built-in state that is automatically activated when a button is clicked).
Example 1:
Show Next button when all audios are complete. Order of triggers is important!Example 2:
Show Next button when all Obj buttons are clicked (Visited).
Please find the attached story file.
I created three True/False variables (Obj1Complete, Obj2Complete, and Obj3Complete). Each variable is set to True when its corresponding audio on each layer finishes playing.
I also created a Next button and set its initial state to Hidden. On each layer, I added a trigger that changes the state of the Next button to Normal when the layer’s audio completes, provided that all three Obj variables are True.
This way, the Next button will appear only after all audios have been completed, regardless of whether all layers have been visited.
If you don't require learners to listen to all the audio files, you could alternatively set the Next button to appear when all Obj buttons are in the Visited state (a built-in state that is automatically activated when a button is clicked).
Example 1:
Show Next button when all audios are complete. Order of triggers is important!
Example 2:
Show Next button when all Obj buttons are clicked (Visited).
So I think I am on the right track. But the current issue I am running into is the "next" button appears after the audio of different layers completes. The "next" button does not function, but it pops up. Any suggestions?
- SciencefulEric12 days agoCommunity Member
Whoops. I figured out the issue with the next button not actually moving onto the next slide after clicking "next". But now, with the "next" button popping up after the completion of any of the audios, it is fully capable of moving onto the next slide. I want to make sure the viewer views each objective before moving onto the next slide.
- Nedim12 days agoCommunity Member
Hi Eric,
That's not what I see in the file I sent you. Did you switch to the default Storyline slide navigation? Is it possible that the default Next button is turned on? The custom Next button I created for you should not appear until all audio is complete. If you're still having trouble, please attach your current working file and I’ll help you resolve the issue. Also, there is a trigger that will move you to the next slide once the Next button appear.- SciencefulEric12 days agoCommunity Member
I am not entirely sure what I did, but here is the trigger list I created for the base layer. I'm currently shocked because I think I got it to work. Because of your file, I was able to really start understanding variables...to an extent. I still have a lot to learn, but I am not feeling so scared of them now. I will go share it with you tomorrow.