Versions Compared

Key

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

Set up your workspace and write your first script.

...

  • Name your script "Director Script" and click on the checkmark to save.

...

  • Click on the “x” icon to close the “Add a New Script” option:

...

Step 2: Create a New Scenario

...

  • 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.

...

Step 3: Attach the Director Script to the Scenario

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

  • While your scenario is open, you can drag it the Director Script over from the script panel to the area that says "Script +":

...

  • 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!

...

  • Name the script "Welcome Message" and click on the checkmark to save it., then click on the “x” to close the “Add a Script” option:

...


Now we want to open the Welcome Message script so that we can edit it.  

...

  • 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

...

  • 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.

...

  • STOPSave 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

  • 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.

...