Course Paths/Branching

Nov 08, 2012

This may be already here but I haven't found it yet and so I thought I'd ask. I'm designing a course that will be viewed by 2 groups. Group 1 has to take sections 1, 2, 5 & 6. Group 2 has to take sections 1 through 6. Is there a way that I can have them choose what group they are at the beginning and then only the sections they need to take are shown/available or do I have to have 2 seperate paths and duplicate everything tha is needed. If there is a tutorial on this please point the way... otherwise any information or where to find the information would be greatly appreciated.

12 Replies
Jerson  Campos

I've only use Storyline but I know there is a way. You'll have to be familiar with variables. In the beginning you can set up a page where the user identifies which group he/she belongs to. When they select which group it assigns a value to a variable (lets say variable "GroupNumber") . It could be a simple true/false variable.  Since the only section that is being skipped is section 3 and 4, you can assign a trigger to those slides. The trigger should be something like "skip to slide# when timeline begins, condition = if groupnumber = true".

So as soon as the  slide starts it will look at that variable and if  the variable matches then it will skip ahead.

Another option is to insert a layer in those sections. Again if the value matches then the layer pops up with a message that says "you do not have to take this section, please go to the next section". This would have to be done on the base layer as well.

Of course I don't know about them not being able to access those sections thru the sidebar menu.

Mike Mohr

Well I've been messing with the variable options and can't seem to figure this out. I created 5 slides. The first slide has 2 buttons. If you click on button one it's suppose to assign a true value to the variable, if you click on button two it's suppose to assign a false value. After you click either button it goes to slide 2. When you click the next button when you are on slide two, I want it to go to slide 4 if the variable is false but go to slide 3 if the variable is true. The Story view shows this should work but when I preview it, it just goes through all the slides. I've attached the file and if anyone can tell me where I'm going wrong it would be greatly appreciated.

Mike Mohr

I am getting further but am currently stuck on how to use the variable that has been set. If I want a slide to be skipped do I put the Trigger on the slide I want skipped or before it? For the Slide trigger would I use Variable changes or something else. Basically I the next slide skipped if the variable is false or played if it's set to true. 

Brett Rockwood

There are probably a number of ways you can do what you're describing. I think the easiest (for me) would be to create a variable, let's call it RoleNumber. I used a Text type variable. On your first slide create a button for each role. For the first role button set a trigger to "Set RoleNumber equal to 1". For the second role button set a trigger to "Set RoleNumber equal to 2". Continue with however many roles you have. Then wherever you get to a slide where you want the next slide to depend on the role, create multiple triggers for the Next button. So your Next button triggers would be "Jump to [slide x] When user clicks, If RoleNumber is equal to 1", add another trigger to the Next button that says "Jump to [slide y] When user clicks, If RoleNumber is equal to 2".  And so on. If you organzie your SL file into multiple scenes it's sometimes easier than by slide but it essentially works the same.

Hope this makes sense.

Margaret Morse

Hello,

I'm just learning how to use variables for branching. I'm creating a module where "Workers" see one set of content and "Supervisors" see that set and additional commentary. I've tried to set variables and use them so that the "Next" button will evaluate them and choose a different slide, but so far it isn't working. Could someone please have a look and comment or send me to some additional information on how to do this? I'm attaching a small file.

Thanks in advance!

--Margaret

Daniela Slater

Hi Brett

Not sure you still come to this forum since it's been a while. If not, can anyone help me with his suggestion.

I created 3 Role btns on a beginning slide but I don't know how they will work. I set the Next btn on a page to direct the respective Roles (3 Next btn triggers). 

I just don't know how this will work.  Does the user click on their Role btn on the first slide, then what?

Please help.

Thanks,

Dani

 

Joseph Francis

Here's a simple example of what I did for a course which is delivered to 3 markets (Education, Healthcare, Human Services). On the first slide, the learner selects the radio button corresponding to his/her market. Each radio button is tied to a trigger, which adjusts a single text variable, txtMarketCode. Example in the Trigger Panel for Healthcare:

Set txtMarketCode to value HC
When the user clicks Radio Button - HC

On subsequent slides, I have 3 layers, one for Education, one for Healthcare, and one for Human Services, with content specific to that market. The only thing I have on the Base Layer is the slide title. There are 3 triggers on the Base layer, to automatically direct the learner to "their" content, again based on txtMarketCode. Here's the trigger for Healthcare:

Show layer Healthcare
When the timeline starts on this slide
If txtMarketCode = value HC

Duplicate this for Education and Human Services, changing the layer and the txtMarketCode value to match.

Brett Rockwood

Hi Dani, I do browse the forum from time to time and still pick up a few tricks even now. 

I think what you need to do is create a number variable, call it Role. Then on your first slide with your three buttons have a trigger on the first button that sets that variable  to equal 1, set a trigger on the second button to change it to 2, and finally set a trigger on the third button to change it to 3. Now, you need to set triggers on the Next button of the slide preceding where your branches are.

If you structure you course using scenes I find it much easier to work with.So, at the end of each scene your Next button has three triggers attached to it. First trigger says if the variable Role = 1 to jump to scene (x), second trigger says if variable Role = 2 jump to scene (y) and the third trigger says, if variable Role = 3 jump to scene (z). 

Once you've created your Role variable and the user has selected one you can continue to direct your branching at the end of each scene to each role however you like.

Hope that helps.

Brett