Forum Discussion

CalumGregory-4f's avatar
CalumGregory-4f
Community Member
5 years ago

Marker variable trigger

Hi Everyone!

New to my role and Storyline (I've been using this for about 3 weeks now), so forgive me if somethings are not explained thoroughly. I've also searched here and Google for solutions.

 

So, I have a slide with 6 markers on, each marker has been assigned a variable to false, when the markers content closes that sets its variable to true. Now, I want a next/continue button to change its state to normal (hidden as intial state), once all the markers variables become true. I've tried to do this with when Timeline ends, as it would never be true for when the timeline starts, but obviously that is not working, and for the life of me I can't figure out what the 'When' would be.

 

I'll attach the .story file of the single slide, any help you can give me to solving this would be really appreciated. It's already crashed on me twice haha.

5 Replies

  • ScottWiley1's avatar
    ScottWiley1
    Community Member

    Your newer version must not be backwards compatible with mine, so I couldn't open your file.

    However, essentially you would not need any variables, and ideally you would need only one variable, to better handle revisits to the screen/slide.

    I put together a simple prototype.

    • Create a T/F variable set to "false" 

    • Add slide trigger to disable Next button if variable is "false"

    • Add variable trigger to enable Next if that variable changes to "true"

    • Add object trigger to set variable to "true" if all marker states are "visited"

    • CalumGregory-4f's avatar
      CalumGregory-4f
      Community Member

      Hi Scott,

      Thank you very much, your way worked perfectly! Thanks again.

  • AndrewLongson's avatar
    AndrewLongson
    Community Member

    Did you manage to make your markers go green once visited?  Trying to work this out.

  • ScottWiley1's avatar
    ScottWiley1
    Community Member

    @Andrew,

    You can change the visited state to look however you want.

    • AndrewLongson's avatar
      AndrewLongson
      Community Member

      Thanks Scott.  Yes, it's one of those where I realised soon after I sent the message.  It was the talk above about needing a variable that confused me because for my requirement, this isn't needed.  I assume in your case, it's because this slide is being revisited at some stage.