Using variables
For variables to be useful, they need to contain some form of content whether that is text, numbers, or true/false logic.
One common way of populating variables is through button clicks; where the learner clicks on a button and by doing so a variable is populated with specific content. This is easy to set up in Storyline; just create a trigger on a button but instead of jumping to a slide, or showing a layer when the user clicks, you instruct Storyline to adjust the content (referred to as the value) of a variable.
When working with variables you will want to ensure they are behaving the way you intend, and contain the information you expect.
Being able to see what's stored in a variable is very helpful for testing purposes, and you can do this by inserting a reference to a variable. This is inserted on a slide like a normal textbox where the textbox contains the name of the variable surrounded by percentage symbols %variablename%
. When previewing or publishing, the reference...