Saxonberg Server API
    Preparing search index...

    Interface DialogueChoice

    One player response.

    interface DialogueChoice {
        effects?: DialogueEffect[];
        guard?: DialogueGuard[];
        line: string;
        to?: string;
    }
    Index

    Properties

    Properties

    effects?: DialogueEffect[]

    Effects applied in order on pick.

    guard?: DialogueGuard[]

    Hide the choice unless all guards pass (AND).

    line: string

    What the PLAYER's character speaks aloud when this is picked.

    to?: string

    Target node id; required unless an end/goto effect drives flow.