Skip to content
Void Monster Docs

Type to search guides and API reference.

    OBS Utils/Developer docs

    Interface: TriggerPayloadField

    Early access 5.4.1API 1.1.0-ea.5.4.1

    @faeyumbrea/obs-utils-api-types


    @faeyumbrea/obs-utils-api-types / TriggerPayloadField

    Defined in: public-api.d.ts:183

    One field in a trigger’s payload schema. Drives both the editor’s condition inputs (when filter !== false) and the value paths components can reference via trigger.X (when display !== false).

    optional choices?: Record<string, string>

    Defined in: public-api.d.ts:190

    Allowed string values and their label keys, rendered as choices in event editors.


    optional default?: any

    Defined in: public-api.d.ts:192

    Default value used when the editor seeds a fresh condition.


    optional display?: boolean

    Defined in: public-api.d.ts:194

    If false, this field cannot be referenced via trigger.. Defaults to true.


    optional filter?: boolean

    Defined in: public-api.d.ts:196

    If false, this field is not exposed to the editor condition inputs. Defaults to true.


    key: string

    Defined in: public-api.d.ts:185

    Storage / lookup key.


    label: string

    Defined in: public-api.d.ts:188

    i18n key for the label. Resolved via game.i18n.localize() at render time.


    type: "string" | "number" | "boolean" | "Actor" | "ChatMessage" | "Roll"

    Defined in: public-api.d.ts:186