Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

For an overview of Scripts, click here.

All scenarios typically start with a Director Script. This is the script that will be launched when the scenario begins in VR. The Director Script is meant to control the flow of the scenario. Note that Director Scripts are not mandatory, it's simply a best practice for organizing your content.

To understand how Director Scripts play a role in Storyflow, please watch this video:

https://vimeo.com/672974757

For full screen please view on Vimeo at this link

As you create your scenario, you may have several or many individual scripts - but they all link back to the original Director Script.  In my example, I’ve created five:

Each of my five scripts does different things.  The "Welcome Message" puts a message to the learner on the wall.  The "Ambience" script directs music to come out of a speaker.  The "Video Content" script plays a video for the learner.  The "Equip Hard Hat" allows the learner to interact with a hard hat in the scene, pick it up, and put it on her head.  The “Spray Workbench” script instructs the learner to pick up items in the environment. I’ve set up Conditions so that each script runs after the one previous.

When they all come together in the Director Script, I have a flowing scenario.

Creating Director Scripts

Create a Director Script the same as any other script with two exceptions:

1. Name the script “Director Script” to make it clear

2. Attach the Director Script to the Scenario - this is what makes it control the flow

Linking Scripts to the Director Script

Once you’ve created a Director Script, you need to link every other script you want to run in the scenario to it.

1. Open the Director Script

2. Change the name of the New Frame to the name of the Script you will add. In this example, I have a script named Prompts that I want to link

3. Click on the Scripts Shortcut icon at the top right and find the script you want to link in

4. Drag and drop the script into the Resource area

5. Save

6. Repeat for all scripts you want to run in the scenario

  • No labels