Forum Discussion
Continue Triggers
- 7 months ago
CaitlinGregory- : Troubleshooting is often just guessing without seeing the .story file. Here's my best guess about potential issues:
- When a trigger adds 1 to a variable when a button is clicked, that will happen every time the button is clicked. So, for example, someone could click one button four times to make the number variable = 4.
- Variables maintain their value until a trigger changes it. If you're using the same number variable to count clicks on multiple slides, you have to reset it to 0 for each slide. Otherwise, if it reaches 4 on the first slide, it will already be 4 when the user advances to the second slide.
Based on your description, it sounds like the user doesn't leave the slide when they click the must-be-clicked buttons. If that's the case, you don't need to use the variable. Just give each of those buttons a Visited state. Then change the state of the Continue button to Normal when the State of those buttons = Visited. Here's an example of that type of trigger:
Sorry, still super confused.
I've set my continue button to appear once the 'button clicks' variable reaches 4 clicks, and each button to add 1 to the same variable when clicked on.
This works for the first slide, and does for the following 2, but only once the page has been reloaded.
Related Content
- 8 months ago
- 4 months ago