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
The Replay Frame resource Resource causes the script Script to play again at a specific frameFrame. This can be used to loop or replay certain sections of the scriptScript.
Required Fields
...
Field Name | Description |
---|---|
Frame | Specifies the target |
Frame in a |
Script to be replayed. |
Optional Fields
Field Name | Description |
---|---|
Timer | Specifies the amount of time to wait before replaying the |
Script. | |
Max Replays | Specifies the number of times this resource can replay a |
Frame. | |
Close Frame when Done | After replaying a |
Frame, the |
Frame to which this |
Resource belongs is deactivated. |
Events
None.
Example in the Headset
In the Motive Lab, the learner sees a Multiple Choice Question. If they choose the incorrect answer, I want to replay the Question again so that they can try to get the correct answer.
I’ll add the Multiple Choice Question Resource and fill it out:
...
If the learner gets the correct answer, I’ll play a positive Notification:
...
If the learner gets the question wrong, they will see a Try Again message:
...
After the Try Again message closes, I will Replay the Question so that the learner can try again:
...
This is the frame Frame structure for the above scripting:
...
Another example would be toggling lights on and off. You can see that example here.