Versions Compared

Key

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

Set up your workspace and write your first script.

...

Table of Contents
minLevel1
maxLevel7

Check out our step-by-step guided walkthrough of this tutorial:

...

View full screen on Vimeo at this link

Step 1: Create a Director Script (2:37 in Video)

All scenarios 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.

...

  • Name your script Director Script

  • Click on the checkmark to save

Step 2: Create a New Scenario (3:08 in Video)

Now, you need to create a scenario. This is the title that will show up in the Scenario Menu in VR.

...

  • Give your scenario a title. In this case, we have chosen "Workshop Test"

  • Click on the green Save button:

...

Step 3: Attach the Director Script to the Scenario (3:33 in Video)

The scenario dictates which script will be launched to start the scenario. It is almost always the case that the scenario launches the Director script in your project.

...

  • Click on the green Save button

  • STOPSave and Test. To make sure your scenario is working, put on your VR headset, and launch the experience. You should be standing in a workshop and you will see a menu with "Workshop Test" in it. You can click the Workshop Test and the menu will disappear. Nothing else will happen yet!

Step 4: Create a new script called "Welcome Message" (4:35 in Video)

One of the powerful things about Storyflow is the ability to generate a scenario from several scripts. It helps keep authoring organized and gives you control over the flow of the scenario and the order that things occur. It also makes troubleshooting a lot easier.

...

It's important to ensure you are in the correct script. You should see the script name in the active tab. If the script is open, but not active, click on the "Welcome Message" tab to make it the active script. You can navigate to other scripts that you currently have open, in the same way.

...

Step 5: Rename the Frame (6:04 in Video)

On the left-hand side of the editor, you can see the "frames" that make up the script you are working on. Frames process in order and you can control when they open and run by using Conditions (we will learn more about this later in the tutorial).

...

  • To rename a frame, click the title on the frame (right now it says "New Frame") and enter the new name Welcome Message 

  • Click outside of the edit box (or hit Return) to save the name:

...

Step 6: Add a Screen Message (6:44 in Video)

We'll start by adding a welcome message for the learner that they will see when this scenario first starts. To do this, we will use a "Screen Message" resource.

...

Training Tip

By leaving Anchor blank, the message will appear in front of the learner wherever they are in the scene.  To have the screen message appear above a specific item in the scene, you would anchor it.  We'll learn more about that later.

If you want the button text to say something other than "ok" you can define that in the space above.

  • Click Save:

...

Step 7: Launch the Welcome Script from the Director Script (8:19 in Video)

If you were to try the scenario now, you would not see this screen message. That is because the scenario launches the Director Script we made, not this one. Let's add this script to our Director Script so that we can see it in action.

...

  • Click on the Scripts icon

  • Open your Script catalog

  • Drag and Drop in the Welcome Message Script

  • Collapse the scripts menu

...

  • STOPSave and Test. Now, when you launch the scenario, you should see this message pop up!

...