Variables - show layer in slide 1 when video on slide 4 is complete

Jul 13, 2021

My project is set out as follows:

Slide 1: Menu (Layer 1 visible, Layers 2 and 3 hidden)
Slide 2: Video 1

I have a trigger on Slide 2 to jump back to slide 1 when the video is finished.

Is there a way of setting a conditional trigger to only show layer 2 on Slide 1 when the video on Slide 2 completes?

7 Replies
Karianne Bradley-Tennyson

Hi Phil - thanks for replying but I'm not sure I understand (I'm only just getting to grips with Storyline!)

This is how the trigger on the video/slide 2 is set up with your instructions although I don't think I got it right:

If I go back to Slide 1 and try to add a trigger, I get these options for objects that are on the slide, not for anything outside of that... so I'm confused as to how to link the two!

 

Judy Nollet

Hi, Karianne,

On slide 1, you want to keep what the Trigger Wizard is showing in the image you posted above. However, you need to add a condition so the trigger will only execute when the variable = True. For example, if the variable is called "videoDone," the trigger would look something like this:

For more info about variables: 

https://community.articulate.com/series/articulate-storyline-360/articles/articulate-storyline-360-user-guide-how-to-work-with-variables 

For more info about conditions: 

https://community.articulate.com/series/articulate-storyline-360/articles/articulate-storyline-360-user-guide-how-to-work-with-triggers#conditions 

You need to edit the trigger on slide 2. As per Phil's instructions, that trigger should adjust the variable to true when the video completes. Then keep whatever you were using before to return to slide 1. 

In other words: On slide 2, the variable gets adjusted to True. On slide 1, the trigger to show layer 2 uses a condition to check the value of that variable. If it's True, it will show the layer. If the value is still False (i.e., the user didn't watch the video), the trigger won't show layer 2.

Karianne Bradley-Tennyson

Sorry, back again with this - it doesn't seem to be working correctly in the preview. 

I've change the layout of the slides so a picture (a post it note) now appears before the video finishes. 

I've set the variable on that layer of slide 2 to the below:

I've set the trigger on slide 1 to this:

What should be happening is that when the post it enters on slide 2, the user clicks it to take them back to the landing page (slide 1) - and the trigger then kicks in and shows layer 1 (which is the button to take them to the next item)

When I test it in preview, Untitled Layer 1 shows from the beginning and not from the 'second visit' after the video. 

Help?