DCS World Typescript
    Preparing search index...

    A simulator event delivered to a world event handler. Event-specific fields are optional because different event IDs carry different payloads.

    interface l_WorldEvent {
        id: number;
        initiator?: unknown;
        place?: unknown;
        target?: unknown;
        time: number;
        weapon?: unknown;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional event-specific fields not shared by every event payload.

    Index
    id: number

    Event identifier from world.event.

    initiator?: unknown

    Object that initiated the event; its exact type depends on the event ID.

    place?: unknown

    Place associated with the event; its exact type depends on the event ID.

    target?: unknown

    Object targeted by the event; its exact type depends on the event ID.

    time: number

    Mission model time at which the event occurred.

    weapon?: unknown

    Weapon associated with the event; its exact type depends on the event ID.