Forum Discussion

AmberNottingham's avatar
AmberNottingham
Community Member
2 years ago

Cant get layer to show after other layers are selected variable triggers set

Hello, 

I am trying to get a layer to show after 4 other layers have been selected. Slide trigger screen shot included. I've de-selected 'Hide other slide layers' on all layers for Slide layer Properties - screen shot of that attached too. And the 4 required layers have the trigger to turn variable to true when audio completes - I've tried when timeline ends too. 

However, it's not working. Attached is also the problem slide. 

Please help!

  • there are some problems in your slide

    • first the easy part -> in 3 layers  the wrong variable is set

    • now the more complex part - the trigger on the base layer

    state after 3 clicks of the learner

    • 3 button are selected
    • 3 variables are set to true

    what happens, if the learner clicks the 4th button:

    • button change to selected
    • base layer script is triggered -> only 3 variables are true -> not ready
    • layer 4 opens
    • the variable for the 4. layer will be true
    • the 4th layer ended and hide

    and now nothing happens, because nothing changed in this moment with the 4 buttons

    you need a trigger "on any layer closed check if all variables are true" - this is not available

    here is a solution with a 5th variable "ready" to simulate this function

    • on start layer true, on end layer false

    (incl. stop audio of the base layer)

     

    • and the updated main trigger on the base layer

    (incl. initialisation of the 5 variables on start)

    result:

    https://360.articulate.com/review/content/fa94168c-f075-4ade-a264-605c6fcd068b/review