BusTriggerEvent
Since 0.6
Payload of the engine-published "trigger" bus event: {@link TriggerEvent} plus both scene ids.
The ids are there because a subscriber is usually neither participant, and reading .id off a handle is only safe while that entity is alive. They are taken when the event is published and are "" for an entity despawned in the same tick as the contact.
Signature
export interface BusTriggerEvent extends TriggerEvent {
volumeId: string
otherId: string
}
Import: import type { BusTriggerEvent } from "@argus/api"
Members
| Member | Signature | Description |
|---|---|---|
volumeId | volumeId: string | |
otherId | otherId: string |