Forum Discussion
CaitlinGregory-
6 months agoCommunity Member
Continue Triggers
Hi, hoping someone can help as this is driving me nutty!
I set up triggers so that a 'continue' button appears and is clickable after 4 buttons have been pressed. This works perfectly well on one s...
- 6 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:
garymoulton-a40
6 months agoCommunity Member
Thanks for this. The Yes/No variable records the clicked state of the object is "clicked" already when it says "Yes" just incase the user clicks it again.
Related Content
- 3 months ago
- 7 months ago
- 4 months ago