Skip to main content

Class: ScriptEventReceived

Defined in: livelink.clients/livelink.base/sources/scene/ScriptEvents.ts:16

The event that is fired when an entity receives a script event.

Dispatched by the entity the script targets — listen with its addScriptEventListener method, whose onReceived callback takes this event. The event name is the script event's own <event_map_id>/<event_name> id, not a fixed key.

Extends

  • Event

Properties

PropertyModifierTypeDescription
emitter_entityreadonlyEntity | nullThe entity that emitted the script event.
data_objectreadonlyScriptDataObjectThe data object associated with the script event.