mwg API
    Preparing search index...

    Interface ScriptOptions

    interface ScriptOptions {
        backdrop: (name: string) => Texture;
        boxHeight?: number;
        boxWidth?: number;
        displayName?: (id: string) => string;
        mode?: "adv" | "nvl";
        speed?: number;
        stage: DialogueStage;
        windows: WindowStack;
    }
    Index
    backdrop: (name: string) => Texture

    resolves a backdrop name from a command to a texture

    boxHeight?: number
    boxWidth?: number

    width of the dialogue box; defaults to most of the stage

    displayName?: (id: string) => string

    the name shown for a character id, when a say gives no explicit speaker

    mode?: "adv" | "nvl"

    'adv' (default) or 'nvl', MessageBox's two display modes; see MessageBoxOptions.mode

    speed?: number

    characters revealed per second

    windows: WindowStack