I want the user to click on two buttons (to lightbox a slide) before going to the next page. First I tried to make a variable for each button: the starting point of the button is false but when the user clicks the button the variable will be changed to true. Then I added a condition to the "go to the next page when the user clicks te next button" trigger: variable 1 AND 2 have to be equal to true (viewed). This was not working: after I have clicked the two buttons, I can't go to the next page when I click the next button. Then, I tried to work with states. Button 1 and 2 have to be equal to be visited as a condition to go to the next page. Again, this is not working. What could be the problem?
It's because the two buttons (Hyper and Hypo) don't actually have Visited states. Add the states to the two buttons and also make sure you preview the scene or project, not just the slide.
As far as the variables not working, you would need to change the order of the triggers. If the change variable trigger is above the show lightbox trigger, this will work as designed.
Thanks Emily! Now the triggers are working properly. Actually, I don't know how to add visited states to the buttons. Could anyone explain to me how this works? Thanks.
When you select an object, you would need to go into the States tab (next to the timeline) and you can add in the states there by clicking on the Edit States button. The built in ones (in the link I shared above) do not need triggers to make them work. they will work as designed automatically. If you create custom states, you will need a trigger to make these appear.
Thanks for your answer. I know how to add and edit states, but how can I add a visited state to a button? Button 1 and 2 have to be equal to be visited as a condition to go to the next page.
6 Replies
It's because the two buttons (Hyper and Hypo) don't actually have Visited states. Add the states to the two buttons and also make sure you preview the scene or project, not just the slide.
Hi Annemijn,
As far as the variables not working, you would need to change the order of the triggers. If the change variable trigger is above the show lightbox trigger, this will work as designed.
See attached file.
Thanks Emily! Now the triggers are working properly. Actually, I don't know how to add visited states to the buttons. Could anyone explain to me how this works? Thanks.
Hi Annemijn,
Here is a tutorial on using States.
When you select an object, you would need to go into the States tab (next to the timeline) and you can add in the states there by clicking on the Edit States button. The built in ones (in the link I shared above) do not need triggers to make them work. they will work as designed automatically. If you create custom states, you will need a trigger to make these appear.
Thanks for your answer. I know how to add and edit states, but how can I add a visited state to a button? Button 1 and 2 have to be equal to be visited as a condition to go to the next page.
Hello Annemijn,
You will need to add the Visited state to the button under the states tab. Click on the New state icon, then from the drop down, select Visited.
This discussion is closed. You can start a new discussion or contact Articulate Support.