Class: ScriptEventEmitted
Defined in: livelink.clients/livelink.base/sources/scene/ScriptEvents.ts:56
The event that is fired when an entity emits a script event.
Dispatched by the emitting entity — listen with its addScriptEventListener method, whose
onEmitted 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
| Property | Modifier | Type | Description |
|---|---|---|---|
emitter_entity | readonly | Entity | The entity that emitted the script event. |
data_object | readonly | ScriptDataObject | The data object associated with the script event. |
Accessors
target_entities
Get Signature
get target_entities(): Promise<(Entity | null)[]>;
Defined in: livelink.clients/livelink.base/sources/scene/ScriptEvents.ts:86
The entities that are targeted by the script event.
Returns
Promise<(Entity | null)[]>
A promise that resolves to an array of entities or null if the entity could not be found.