Versions Compared

Key

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

For an overview of Conditions, click here.

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

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 user learner answers an on-screen question. Or , 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.

Event

Specifies the

event

Event being listened for.  This is the

event

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

Event, then the

condition

Condition is met.  For example, if there is a Screen Message

resource

Resource and the learner does not close the message then the

event

Event would fire because the message was never closed.  

Ignore Previous

Specifies if the

condition

Condition is listening only for the most current

event

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.

1. Create a Screen Message with instructions:

...

  • Create a sub-frame for the Welcome Message.

  • Add an Object Event Condition with the Script Object = Welcome message and the Event = Close.

  • Add the resource, in this case, Screen Media, to play once the Object Event Condition has been met:

...

2. Go to the bottom of the 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

Add Conditions