Launch New Script Resource
For an overview of Resources, click here.
Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.
Overview
The Launch New Script Resource is used to play a Script. This Script will run alongside any other Scripts that are actively playing.
While all Scripts can be launched from the Director Script, you may find there are situations where it would be better organized to launch within a Script. For example, if there is a correct/incorrect situation you could launch different Scripts depending on the learner's actions.
Required Fields
Field Name | Description |
---|---|
Script | Specifies the target Script that will run. |
Events
Example in the Headset
I want to set up a Testing Script that runs everything I need to test one individual Script at a time in the headset.
In the first Frame, I will Spawn Assets that I will need:
Once the Assets are spawned, I will use the Launch Script Resource to attach the Script in question that I want to test - in this case the “Test Fume Hood”:
This Script will then be attached to a Scenario and I can run it in the headset.