Versions Compared

Key

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

Training Notes

In this article, we will work with scripts and a resource.  As an overview, please review these two articles:

...

  • While your scenario is open, you can drag it 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 an office and you will see a menu with the "Demo Scenario" in it. You can click the Demo Scenario and the menu will disappear. Nothing else will happen yet!

...

  • Re-name the first frame "Launch Welcome Message":

...

As mentioned, in order for the Welcome Message script to launch, we need to attach it to the Director Script.  There are a few ways to do this, but the quickest is to drag and drop the script directly on the center of your screen.

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

In the Headset

Here is what your scenario will look like so far:

...

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.

Next Up: Office Tutorial 2 - Using a Condition