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
Hi, Jessica -- Thank you for your question! Would you like to share your file so members of the community can take a look at how you have things set up so far and make some suggestions?
Here's the structure so far. The user chooses a response and based on that response there are different reactions.
DISCLAIMER: there is strong language for this as it is for a social work course.
Thanks for providing your file, Jessica, and hopefully the community will chime in with lots of creative design ideas for you to try! :)
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.
Thanks so much for the suggestions you've shared, Douglas! Hopefully that is just what Jessica had in mind. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.