Personalise a course with variables: the learner's role, progress and choices
Use text, number and true/false variables with triggers and conditions to tailor a course to each learner's role, progress and choices.
A personalised course doesn’t need an algorithm. It needs a course that remembers a few things about the learner and reacts to them: which role they chose, which sections they’ve finished, what they decided in a scenario.
That’s what variables are for. Here are three patterns you can build in SCORMCraft in an afternoon, with nothing but variables, triggers and layers.
The building blocks
- Variables remember things. In SCORMCraft a variable is a Number, Text or True/false, and it belongs to the whole course, so a trigger on one slide can set it and a condition on another slide can check it.
- Triggers do things when something happens: Do this, when this happens, only if.
- Layers show extra content on top of a slide: a pop-up, feedback, a message for one kind of learner.
To add a variable, click Triggers in the toolbar (⌘⇧T), then Variables, then + Add variable.
Pattern 1: tailor the course to the learner’s role
Most compliance and onboarding courses have a “managers also need to know” section. Instead of showing it to everyone, let learners say who they are.
Set up:
- Add a Text variable called
Role. - On an early slide, add two buttons: I manage people and I don’t manage people.
- Select the first button and open Triggers. Quick add → Set variable
when clicked gives you the trigger; set
RoletoManager. Do the same on the second button withStaff.
Use it later:
- On a slide with manager-only content, put that content on a layer called Manager note.
- Add a trigger that shows the layer when the slide starts, with a
condition: + Add a condition,
RoleisManager.
Staff never see the layer. Managers see it on every slide where it matters.
You can also branch at scene level. On the Continue button, a Jump to
scene trigger with the condition Role is Manager sends managers through
a whole extra scene, and a second trigger with Role is Staff sends
everyone else straight on.
Tip: let learners change their answer. A small Change my role button that jumps back to the choice slide costs nothing and avoids a learner stuck on the wrong path.
Pattern 2: show progress on a menu slide
A hub slide with four topics is friendlier when it shows which ones are done.
Set up:
- Add a True/false variable per topic:
DoneSafety,DoneData, and so on. - On the last slide of each topic, the Back to menu button gets two
actions in one trigger. Click + New trigger, choose the action
that sets
DoneSafetyto true, then + Add another action and Jump to slide Menu.
Show it:
- On the menu slide, give each finished topic a layer with a tick and the word Done.
- Each layer is shown by a trigger that runs when the slide starts, with the
condition
DoneSafetyis true, and so on.
Use a word or icon as well as a colour change, so the status isn’t conveyed by colour alone.
Open up the final quiz: put the Take the quiz button behind a condition that checks every topic variable with AND. A second trigger on the same button, with OR conditions for any topic still false, shows a layer that says which topics are left.
Pattern 3: remember choices in a scenario
In a scenario, consequences should follow from what the learner actually did several slides ago.
- Add a Number variable,
Trust, and a True/false variable,CheckedID. - On each decision, the choice’s trigger sets the variable:
CheckedIDto true when the learner clicks Ask for ID. - Later, the customer’s reaction depends on it. One trigger shows the
Customer thanks you layer if
CheckedIDis true; another shows Account compromised if it’s false.
For a fuller walk-through of scenario design, see How to build a branching scenario.
Sliders count too
A slider or dial can fill a number variable directly. Select it, open Format, and under Slider choose the variable in Sets the variable. Ask “How confident are you with this process?” on a scale of 1 to 5, and use the answer in a condition: learners who pick 1 or 2 see a worked example layer before the practice task.
Name variables so you can read the triggers
Each trigger sums itself up as a sentence at the bottom of the dialog. Good variable names make those sentences readable months later:
DoneSafety, notvar3.- Use the same pattern everywhere:
Done...for progress,Chose...for decisions. - Give the trigger a Name when its job isn’t obvious.
Test every combination
Personalised courses break in the paths nobody tried. Before you publish:
- Preview the course as each role, start to finish. The slide show doesn’t record progress, so you can run it again and again.
- Visit topics in an unusual order, then check the menu.
- Open Story View to see where each branch goes.
Start with one variable and one condition. A course that notices one thing about each learner already feels more personal than one that notices nothing. The Triggers & variables help page lists every action and event.