Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Quick Links

Table of Contents
minLevel1
maxLevel7

Video Overview

...

For full screen please view on Vimeo at this link

About Variables

...

Variables are an important and powerful component in the Storyflow authoring system. Variables allow you to store values to be used later and to change things dynamically as the scenario unfolds.

...

  • They can give the author precise control over tracking and monitoring progress and remembering decisions and actions.

  • They can be used with dynamic content to serve up to have a scenario that adapts to unique conditions in a user's experience.

Variable Menu Location

When viewing a script, you will find the Variables area to the right of the script editor:

...

When you choose "+ Add New" you are presented with a list of Settings.

Variable Settings 

Script Variables

...

isOutput: It lets a Script send a value back into the Script that called it.  If you add an output variable to Script A then use a Script Launcher that launches Script A from Script B you'll see the outputs added to the bottom of the launcher.

...

Enum: Used to create a variable that has a list of options or states. 

Creating a Variable

An example of a variable would be a checklist that the learner sees and as they complete tasks in the scenario, the items are checked as complete.  We have a full walkthrough tutorial on creating this type of content here.

...

Dynamic Variables

Dynamic variables generally represent fields in resources. Their values can be changed during the scenario based on user input and other events while the scenario is running. The value of a dynamic variable can be set and reset throughout the scenario and can change what the user sees and hears and how the scenario plays out.  An example of a dynamic variable would be a speaker in the scene and the learner has the ability to adjust the music to be louder or softer.

...