...
Table of Contents |
---|
Overview
The Use Tool object The Use Tool object interaction emits an event once the learner uses a tool on a specified object. The author can specify the number of times the tool must be used before the event is emitted.
An example of how the Use Tool object the Use Tool object interaction could be used is when the learner must clean dirty equipment with a spray bottle. If the learner uses the spray bottle enough times on the equipment, the author can display to the learner that the equipment has been cleaned.
...
Example in the Headset
In the Workshop environment, I'd like the learner to use the spray bottle to spray the spill on the floor.
Open the script you will author this in
Add the Object (spray bottle) and World Object (spill) as Scene Objects in a frame:
...
Add the Use Tool Resource to a frame:
World Object = the object the tool must be used on
Use Tool Object = the tool to be used
Add prompts, like text (optional):
...
Additional Options:
I've included a Screen Message to appear when a Complete event is emitted:
...
Motive Lab, there is a spill that must be cleaned up. We’ll use the Use Tool resource twice - once to spray the spill and once to wipe it up:
Add the Use Tool resource to the frame and fill it out:
...
When the first Use Tool resource completes, I’ll run the second:
...
The spill should not disappear until the learner has a chance to wipe it up. So, I’ve inserted a Notification as they appear for 5 seconds:
...
After the Notification, I’ve used a Set Object Properties resource to make the spill disappear:
...
Lastly, I’ve scripted a confirmation the task is complete:
...
Here is what the frames look like for the above scripting:
...
This is what it will look like in the Headset:
...
View video full screen on Vimeo at this link.