Info |
---|
For an overview of Resources, click here. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in. |
Table of Contents |
---|
Overview
Equip or Unequip allows the author to control the equipping or unequipping of an object through StoryFlowStoryflow. For example, this was used extensively in some PPE training scenarios Scenarios we created. When we wanted the learner to start with PPE “on” to learn doffing procedures we used this resource to “equip” them with the correct objects.
This is different from the “Equip” and “Unequip” resources under “Object Interactions”. The “Equip” and “Unequip” resource Resource is used when you want the learner to take the action (not have it automatically occur in the scenarioScenario).
...
Authoring Note
Wearable items such as a safety vest behave differently in the Scenario based on a learner’s height or stature. You may find that after the learner is wearing an item their view of tasks in the Scene is obstructed. You do have the ability to make these PPE items invisible after putting them on. You would do so using the Set Object Properties Resource.
Required Fields
...
Field Name | Description |
---|---|
Equippable Object | The named object you will equip/unequip. Usually an article of clothing or personal equipment. |
Action | Equip or Unequip. |
Optional Fields
Field Name | Description |
---|---|
Target | Where you want the item to attach. Usually, Head, Face, Hand, Body, or Foot. |
Events
CloseActivate, Complete.Less often used: Open, Activate, Deactivate (if initiated by the author with Deactivate Resource).
Example In The Headset
In this example, I want to put a safety hat goggles on the learner at a specific timethe start of the Scene. I also need to spawn assets so what I will do is fade the Scene to black, spawn the assets and don the glasses, then fade the Scene back in again. Here are the steps:
Open the appropriate script and frame.
Drag and drop the object (safety hat) and target (head) into the frame where you would normally organize scene objects. In my example, I have a frame just for this:
...
I warned the learner that the hat would be equipped by using a Notification in a new frame and added a sound notification:
...
When the Notification closed, I added the Equip or Unequip resource by dragging it into the frame and configuring:
Equippable Object = Safety Hat
Action = Equip
Target = Head
...
Once the script is saved, this is what the learner will see in the headset. Note the brim of the hat will appear when it is equipped:
...
Create a Frame with an appropriate message:
...
Add a Frame to Fade Out the Scene:
...
Optional but necessary for this Script - add a Frame for the Spawn Assets
Add a Frame for the Equip or Unequip Resource and additionally whether it’s in this Frame or another the Equippable Object and Target need to be added:
...
In the next frame, Fade the Scene back in:
...
In the last Frame you can optionally create a Custom Event for the Assets Spawned. We cannot use an End Script Resource in this Script as we spawned assets.
Here is what the Frames would look like for the scripting above:
...
Here is what it would look like in the headset. Note that you will see a slight difference in view after safety goggles are donned:
...
To view this video in full screen on Vimeo, click here.