Forum Discussion

MaryLain's avatar
MaryLain
Community Member
12 years ago

Variables and Layers

Hello everyone!
I am working on a page with 6 layers (base layer + other 5 layers).

I need to set a rule that allows the user to click the next button *ONLY* if he opened all the layers.

Next/Previous buttons are custom-made (copy&paste the button + trigger added).

Can you help me?
I'm not good in creating variables... :(

Thank you!

21 Replies

  • KAR's avatar
    KAR
    Community Member

    HI Wendy

    I've got custom navigation buttons and I'm in SL 1.

    Thanks for your quick response!

    K

     

  • Hi, Katherine - I see that Wendy is assisting you, but please feel free to let us know if you are all set or if you would like additional assistance. You are welcome to share your file or a sample here. 

  • KAR's avatar
    KAR
    Community Member

    Hi Wendy - thanks so much! Your solution worked perfectly. I had set my 'next' button to appear when all of the buttons had been visited, but had the trigger set to do this when the timeline started rather.

    The thinking behind my  setup was that at the point after the timeline started and all the buttons had been visited the next button would appear.

    Would you be able to explain why this didn't work? This would help with my understanding of the logic behind SL.

    Thanks again!

     

     

     

     

  • Hi Katherine

    This is how I think of it and I may be way off base - When you click button 6 and the layer appears / then you close the layer you haven't actually restarted the slide timeline. You are on the base layer and have made a popup show/hide.

    I find variables a much easier way to control what is happening.  I always put my variable on the slide %allvisit% when I am testing so I can see exactly when the variable changes so I can make sure the triggers work.  Trigger order is also important.

    Here is a link to some info on how triggers are executed

    https://en-au.articulate.com/support/storyline-2/the-order-in-which-triggers-are-executed-in-articulate-storyline-sl2

    Sorry I couldn't explain it better.

    • KAR's avatar
      KAR
      Community Member

      Thank you - I suspected this was the case.

  • Hi, Katherine - I'm glad to hear that you received the assistance that you needed, and Wendy, many thanks as always for your contributions to the community! :)