Using variables and repeat visits
Nov 19, 2012
Hello all,
Would really appreciate your help on this - I am jumping from one slide to the next and what appears on the next slide is dictated by variables. I have three speech bubbles on the initial slide, if they click on either of two of the speech bubbles they will be presented with the same two speech bubbles on the next slide. If they click on the other remaining speech bubble on the initial slide they will be presented with only one of the speech bubbles on the next slide that they would have seen with the other two options, and an additional speech bubble which is unique to that option.
I have a back button to return to the initial slide. The problem I have is that I am able to run through all three options and it works the first time. But if I want to go back and try again, the variables that appear on the second slide are stuck to those I chose the first time. I've tried resetting the slide to it's initial state but it doesn't help. It still remembers the variables from my previous attempt. Has anyone experienced a similar issue?
Marion
5 Replies
Hi, Marion -
Variables are persistent and aren't tied to the slide at all. To reset those, you'll need to setup a trigger to adjust the values. On your first slide, you can setup a group of triggers to set your variables back to a default state. That would give you a fresh run each time through.
Thanks Steve,
How do I setup a group of triggers to reset to a default state please? Will change state to normal work. . .
On your slide, for each variable, set a slide trigger to set the variable back to its default value when the timeline starts for the slide.
For example, here's one for a True-False variable that gets set back to its default value of "false."
Yay!! That works! I understand now.
Thank you both
Cool. Good luck with your project!
This discussion is closed. You can start a new discussion or contact Articulate Support.