rednode API - v0.50.0
    Preparing search index...

    Interface PostedEvent

    A game sound event posted by audio.event.

    interface PostedEvent {
        name: string;
        on: "player" | "none";
        stop(): Promise<void>;
    }
    Index
    name: string

    The event's name.

    on: "player" | "none"

    Where it played: on V ("player"), or with no entity ("none", also when no save is loaded).

    • Stops the event through the game's AudioSystem.Stop, on the same entity.

      Returns Promise<void>