Last visited variable

Sep 22, 2015

I'm creating a branching choose-your-own-adventure type of project and in one scenario if the user clicks Option A it will lead them down a path to outcome 7 alternatively if user chooses Option B it will take them directly to outcome 7. Now if the user selects the incorrect answer at outcome 7 I want them to jump back to where they came to try again (Option A or Option B)

Is there a way to set a trigger on Outcome 7 that says something like "jump to last visited variable" and then set the variables on Option A and Option B?

Or some other solution that will have the same result? Thanks!

5 Replies
Douglas Spencer

The branching on this course sure is complicated.

I think if you did this you could accomplish what you want.

1. Create a T/F variable (default it to False) called something like "OutcomeA".

2. Create a T/F variable (default it to False) called something like "OutcomeB"

3.  Create a trigger that changes "OutcomeA" to True if they click the Option A button.

4. Create a trigger that changes "OutcomeB" to True if they click the Option B button.

5. On the Outcome 7 slide, put a trigger on the next button that takes the user back to the Option A slide. Then, add a condition that checks to see if OutcomeA is True.

6. On the Outcome 7 slide, add another trigger to the next button that takes the user back to the Option B slide. Again, add a condition that checks to see if OutcomeB is True.

This discussion is closed. You can start a new discussion or contact Articulate Support.