Forum Discussion

DorothyMiller's avatar
DorothyMiller
Community Member
2 years ago

Setting a two triggers within one trigger

Hi

I would like to add a new trigger for the user to be able to click the next button, only when the timeline ends on the slide. I can't seem to create the 'when timeline ends on slide' within a trigger. Would I need to create a new variable, if so would it be a true or false?

Thanks.

Dorothy

  • Are you wanting this to happen for all slides?  If so, that is the automatic behavior of the Restricted Menu.

    If it is just for one slide, then that can be tackled with states of your next button, or a True/False variable to indicate that the slide has been completed.

     

  • Matthieu_W's avatar
    Matthieu_W
    Community Member

    Hi,

    you can use the state of the next button.

    On the slidemaster create a new slide template with 2 triggers :

    -Action : Change the state of Object : Next button State : set Inactive state When : the timeline start Object : of this slide

    -Action : Change the state of Object : Next button State : set Normal state When : the timeline finish Object : of this slide

    Set this new slide template to the slides of your project that you want

  • DorothyMiller's avatar
    DorothyMiller
    Community Member

    Hi

    As it was just one slide I followed your steps Matthieu, it worked beautifully - and seemed so obvious when I was adding the triggers!  Thank you.

  • For reference, this post has a file that demos different ways to control the Next button: https://community.articulate.com/discussions/articulate-storyline/tip-controlling-the-next-button-101 

    FYI: When you use a trigger that disables Next when the timeline starts, that will disable Next again if the user returns to the slide. And, depending on what needs to happen to enable Next, the user could get stuck on the slide.

    Thus, it's best to use a condition (such as checking a T/F variable) in the trigger that disables Next, to ensure it only runs the first time the user visits the slide. This is one of the methods in the linked demo file.