Help with triggers and state changes

Aug 27, 2021

Hi community,

I have a slide that contains 4 images. When the user clicks on a each image it takes them to a layer that contains some information relating to the image. Once each layer is closed the user returns to the base layer, and the state of the image then sets to 'visited' with some new text underneath. 

I have a 5th layer that I want to appear, only once all of the 4 images and associated layers have been visited. It contains text that prompts the user to continue to the next slide.

I have set up a trigger to show the 5th layer once the state of all 4 images are 'visited' but it doesn't work and I don't know why as I've done this several times on similar slides. Maybe it's something to do with it being an image (not a shape) or that there are layers involved?

I've attached the slide in question so if any of you good folk fancy going in and having a look at where I may be going wrong that would be very cool. Or maybe there is a way simpler way to do it - variables? (I'm not too hot on variables though so pls do explain)

Thanks

7 Replies
Maria Costa-Stienstra

Hi, Tom.

Thank you for sharing your .story file!

When you look at the properties of each of your layers, the option to Hide other slide layers is checked. What is happening is when the user gets to the last layer, the final one opens, but it's hidden. 

Right-click each one of your layers, go to Slide Layer properties, and uncheck the option:

Screen Recording 2021-08-27 at 12.45.47 PM 

This should do the trick! Let me know if it works!

Tom Griffin

Hi Maria,

Thanks so much for this, I've learnt something there!

It did do the trick. Is there a way though to trigger the 'continue' layer to appear only when the final layer is exited? The text entering the screen provides the prompt for the user to click next, so if they see the text appear (rather than it appear whilst they are on the final image layer) then that would be optimal.

I tried pausing the timeline on the base later in each of the slide properties but oddly that didn't do the trick. Any suggestions?

Walt Hamilton

Place this trigger:

 

before this one:

 

Notice that this trigger is from the women layer, so it is safe to assume that the women layer has been visited. That's why it only needs to check the other three layers to see if they are Visited. If they are, the Cont layer shows, and hides Women. If not, the next trigger hides Women normally.

Tom Griffin

Hi Walt,

Thanks so much! This didn't actually work in full though, it prompted the 'continue' slide to appear at the correct time but only if the 'woman' slide was the last of the 4 to be visited. So I inserted the same trigger into the other 3 slides (changing the picture numbers of course) and the 'continue' slide now appears once all 4 layers have been visited, whatever the order. 

I could only have got there with your help. The world needs more Walts!

Have a great day sir!

Edit: just re-read your message and you probably intended me to add the trigger to each of the layers!!!!