For an overview of Resources, click here.
Overview
The Deactivate resource Resource terminates any resource in a script. This can be used to stop media playback or disable any UI generated from resources, for example.
Required Fields
Field Name | Description |
---|---|
Resource | Specifies the resource to be deactivated. You can only deactivate resources that are local to the script. |
Events
Example
In the Motive Lab, I’ve activated an emergency with the Fume Hood equipment. Once the learner closes the fume hood, the audio alarm and visual scene effect should deactivate (stop).
(Optional) add instructions for the learner on what to do:
In this example, I’ve added a visual Vignette to turn the scene red and played an audio alarm then I’ve used a Set Object State resource to enable the learner to close the hood :
Once the fume hood is closed, it will trigger the two Deactivate resources:
Here is what it would look like in the headset:
https://vimeo.com/835431496To view this video in full screen on Vimeo, click here.