For an overview of Resources, click here.
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.