Info |
---|
For an overview of Conditions, click here. |
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deep Learning on Conditions is found in Motive Academy. Click here to see the course this lesson is in. |
Table of Contents |
---|
Overview
The Object Event condition Condition is met if a resource Resource emits the specified eventEvent. This is a very commonly used conditionCondition.
An example of this would be a Screen Message firing off “Option 1” when a learner answers an on-screen question, or a “Close” event when a Screen Message is closed.
Required Fields
...
...
Field Name | Description |
---|---|
Script Object | Specifies the object to listen to that will fire the |
Event. | |
Event | Specifies the |
Event being listened for. This is the |
Event that must be fired in order for this Condition to be true. |
Optional Fields
...
Field Name | Description |
---|---|
Negate Result | Specifies if the result is negated. If the object does not emit the specified |
Event, then the |
Condition is met. For example, if there is a Screen Message |
Resource and the learner does not close the message then the |
Event would fire because the message was never closed. | |
Ignore Previous | Specifies if the |
Condition is listening only for the most current |
Event emitted by the object. |
...
Example in Action
I want to create a script Script that will welcome the learner to the training session and show them a video.
...
2. Go to the bottom of the resource Resource and click on the Event Link Shortcut (the blue + symbol). This will create a new child frame with an Object Event Condition for you.
3. Fill out the Object Event:
...
What we've done is created a script that says "When the screen message fires and the learner clicks the OK button, then play the video". There are options on scripting to handle situations where the learner doesn't click the ok button and therefore the scenario can't proceed. See a solution at the end of this article.
Related Articles