Versions Compared

Key

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

For an overview of Resources, click here.

Panel
panelIconId1f393
panelIcon:mortar_board:
panelIconText🎓
bgColor#4C9AFF

Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.

Table of Contents

Overview

The Deactivate resource Resource terminates any resource Resource in a scriptScript. This can be used to stop media playback or disable any UI generated from resourcesResources, for example.

Required Fields

...

Field Name

Description

Resource

Specifies the

resource

Resource to be deactivated. You can only deactivate

resources

Resources that are local to the

script

Script.

Events

Complete, Open, Activate.

Example

In Workshop Tutorial 7, I created an itemized list.   I will use the Deactivate Resource to make the list go away at a specific point in the script.

  • Go to the last frame you want the list to appear and create a child frame.

  • Choose the appropriate Object Event script item.  In my example, the learner will receive a notification about their success once the list is complete.  I want to deactivate the list after that:

...

The list will be removed from the scene at that point as a result.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).

  1. (Optional) add instructions for the learner on what to do:

...

  1. 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 :

...

  1. Once the fume hood is closed, it will trigger the two Deactivate Resources:

...

Here is what it would look like in the headset:

...

To view this video in full screen on Vimeo, click here.

Related Articles

Resources: An Overview

End Script Resource

Close Frame Resource