Help with Branching and I think variables

Jul 30, 2019

Hi I am trying to make a scenario where there are three paths.  I have the learner select path A, B, or C using 3 hotspots over three different images on a single slide.  If they choose path A then I want them to see content 1 and 2.  If they choose path B then I want them to see content 2 and 3.  If they choose path C then I want them to see content 1 and 2 (just like path A).  A, B, and C correspond to user roles and content 1, 2, and 3 are videos.  Each video has been inserted in a slide so there are three content slides.   I only want the learner to see what is relevant to their roles.  I only want to have a single instance of each of the videos.  Once the learner has completed the path they chose I want each path to lead to a single wrap up slide. Can someone help talk me through how to make this happen?  I know I need to use variables.  I have tried different scenarios but I think there is something fundamental I must be missing in the set up.  Expert help is greatly appreciated.  THANKS in advance!

5 Replies
Ned Whiteley

Hi Dayle,

What I would do here is to set up a True/False variable (RoleB), which is set to False at the start. If the user selects Role B on the first slide, the variable is changed to True. If one of the other roles is selected, the variable remains as False.

You then set up two triggers on slide 1 that activate once the role selection has been made that jump the user to slide 2 (Video 1) if RoleB is False or slide 3 (Video 2) if RoleB is True.

You set up a trigger on slide 2 that activates once Video 1 completes that jumps the user to slide 3 (Video 2) or Next Slide, if you prefer. (Note: Any user who views Video 1 also has to view Video 2)

You set up two triggers that activate once Video 2 completes that jump the user to slide 5 (Wrap-up slide) when RoleB is False or slide 4 (Video 3) if RoleB is True.

Finally, set up a trigger that activates when Video 3 completes that jumps the user to slide 5 (Wrap-up slide) or Next Slide, if you prefer.

Note that if you don't want your triggers to activate automatically when the videos complete, you can link them to the Next button instead.

Hopefully this makes sense, but if you have any further queries, please don't hesitate to get back to me here.

Dayle Kozlowski

Hi- thanks for your help.  This is so great!  I have built the scenario and it all works but… at the end of the course I have a button that allows the user to revisit the course content.  If they user selects a different role then they did previously the path should change.  Meaning variable B should be set again and recognized to trigger the newly chosen path… but this is not happening.  I put a trigger on the revisit button to reset the variable b to false but when I get to the end of path A or C the course is acting as if the original path was selected (in this case path B) and taking me to the video 3 instead of wrap up.  It is not seeing that the variable has been reset and reselected.  I suspect there is a way to clear the variable and recapture that I am not doing correctly.  Thoughts?

Dayle Kozlowski

Hi- thanks for your help.  This is so great!  I have built the scenario and it all works but… at the end of the course I have a button that allows the user to revisit the course content.  If they user selects a different role then they did previously the path should change.  Meaning variable B should be set again and recognized to trigger the newly chosen path… but this is not happening.  I put a trigger on the revisit button to reset the variable b to false but when I get to the end of path A or C the course is acting as if the original path was selected (in this case path B) and taking me to the video 3 instead of wrap up.  It is not seeing that the variable has been reset and reselected.  I suspect there is a way to clear the variable and recapture that I am not doing correctly.  Thoughts?

 

Ned Whiteley

Hi Dayle,

I suspect you may have made the mistake of having your triggers in the wrong order. This is a very common mistake, so don't worry. Check that you are not jumping back to your main menu before adjusting the variable back to False, otherwise the variable will not be reset.

See attached example if you are still having problems (each video lasts approximately six seconds).

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