...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Set up your workspace and write your first script.
Training Notes
In this article, we will work with scripts and a resource. Before we start, please review these two articles:
Table of Contents | ||||
---|---|---|---|---|
|
Step 1: Create a Director Script
...
Click on the "Create" button in the Scenarios panel.
Give your scenario a title. In this case, we have chosen "Workshop Test".
Click on the green Save button.
Insert GIF
Step 3: Attach the Director Script to the Scenario
...
While your scenario is open, you can drag it over from the script panel to the area that says "Script +":
Insert GIF
STOP: Save 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!
...
Double click on the title "Welcome Message".
Insert GIF
You will see that it opens a Script Frame. This is the frame for this specific script, the "Welcome Message". Within this area is where we can make edits and add items to this script.
...
To add a screen message to the first frame of the script, drag the resource into the center section of the screen:
Insert GIF
Add some text to the screen message. The "Text" field is what the learner sees:
...
Click on the Scripts icon.
Open your Script catalog.
Choose the Welcome Message script and drag and drop it into your screen.
Collapse the scripts menu.
Insert GIF
STOP: Save and Test. Now, when you launch the scenario, you should see this message pop up!
...
This is what your scenario will look like so far:
Insert Video
Training Notes
Key Takeaways from Tutorial 1
A Director Script is the script launched when a scenario starts and it controls the flow of the scenario.
Move between multiple scripts by using tabs within the Project. You will see the script name in the active script tab that you are currently editing.
Anchors allow you to place resources within a scene at a specified place or can appear in front of the user wherever they are in the scene by leaving the Achor field blank.
Every script created should be launched from the Director Script and the fastest way to do so is to use the Scripts icon to drag and drop the script into your frame.
...