Problems with Variables
Nov 05, 2013
I have a story with six scenes. The first scene is an introduction, and then there are four main parts to the story. After they have finished each main part, the user returns to the introduction. I have variables set to turn links to "visited" after the user has visited them. After the user goes to all four of the scenes (in any order), the variables are all switched to "visited," so the user should be rerouted to the sixth scene, a course evaluation. It's this last part I cannot get to work . The variables change to "visited," the states change, and everything else works, but the user is never rerouted to the evaluation. I've checked and rechecked the logic, and everything looks to be correct. Can someone tell me what I'm missing? If I need to upload a file, please let me know.
Kind regards...
7 Replies
I suggest you upload your .story file here for the community to look into this issue.
Okay, it took me about 10 tries, and I had to strip virtually all the content out, but I got it uploaded. While there's no content left, I've left the important triggers as they were. Thanks for any help you can give!!
This was an issue with the SEQUENCE of some of your triggers. Remember, triggers are executed in order, top-to-bottom.
1. For each of the four buttons on slide 1.3, I moved the trigger that sets the variable to true BEFORE the trigger that then jumps to the specified slide. See here one example
2. On the last slides in the four sections, I moved the conditional trigger that jumps to slide 6.1 BEFORE the trigger the jumps to 1.3. See here one example
I'd rather not try to upload this huge file with my edits, but if you do need the file that I revised let me know and I get it to you some other way. Hope that helps.
Hi Nathanael,
I've fixed your project so it works the way you want it (see attached .story file)
(Initially I thought it had to to with the trigger sequence, but this wasn't the case. The main thing I have changed is setting the variable to true at the start of the timeline of each of the modules. Furthermore, the trigger to jump to the feedback scene can simply be inserted just once at the beginning of the main selection slide)
Take a look at how the triggers are organized so that it might help you in the future.
Kind regards,
Rutwin
Hi Nathanael! Looks like you are being well taken care of here
Thanks Michael and Rutwin.
Thanks so much everyone for your replies! I've been straining my brain trying to get these things to work. You guys have saved the day. On to the next project!!!
Awesome! Glad to hear it Nathanael and thanks for the update
This discussion is closed. You can start a new discussion or contact Articulate Support.