Skip to content

API Interface SayOptions

github-actions[bot] edited this page Dec 1, 2026 · 3 revisions

Interface: SayOptions

Defined in: src/plugins/audio/runtime/dialogue/dialogueSystem.ts:46

Options for Audio.say (ADR 0355 §5).

Extends

Properties

args?

args?: Record<string, string>;

Defined in: src/plugins/audio/runtime/dialogue/dialogueSystem.ts:48

A value per argument name (labels); arguments not given read their global parameter, else their default.


at?

at?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:22

Start at this audio-clock time (seconds, Audio.time's base).

Inherited from

LineOptions.at


bus?

bus?: string;

Defined in: src/plugins/audio/runtime/playlists/options.ts:18

Override the playlist's bus.

Inherited from

LineOptions.bus


channel?

channel?: string;

Defined in: src/plugins/audio/runtime/dialogue/dialogueSystem.ts:50

The speaker channel; default the picked line's speaker, else the event name.


dopplerLevel?

dopplerLevel?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:37

Inherited from

LineOptions.dopplerLevel


line?

line?: string;

Defined in: src/plugins/audio/runtime/playlists/options.ts:51

ADR 0354 §5: the line key a programmer line entry ({ "line": null }) plays (FMOD's programmer instrument); a playlist without one ignores it. A line table's template playlist gets each line's key this way.

Inherited from

LineOptions.line


maxDistance?

maxDistance?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:46

Inherited from

LineOptions.maxDistance


minDistance?

minDistance?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:45

ADR 0347: distance overrides for a spatial playlist, metres. Its attenuation curves stretch from their own distances to these (stretchAttenuation); either omitted keeps the attenuation's own. AudioSource.minDistance/maxDistance reach the playlist this way. Flat playlists ignore them.

Inherited from

LineOptions.minDistance


node?

node?: GameObject;

Defined in: src/plugins/audio/runtime/localisation/lines.ts:48

Plays from and follows this node's world position (a flat template ignores it).

Inherited from

LineOptions.node


occlusion?

occlusion?: boolean;

Defined in: src/plugins/audio/runtime/playlists/options.ts:36

ADR 0162 §1.2 (D4): the playing AudioSource's options, for a spatial playlist. The playlist's own spatial keys win; these apply where it sets none. A flat playlist ignores them. Callers clamp.

Inherited from

LineOptions.occlusion


offset?

offset?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:29

Start as if this many seconds had already played (ADR 0343, 0348: audition from a point, seek): a sequence starts its playhead there; the samples a playlist starts with begin that far into their sound (a looping one wraps). Later starts (a queue's next entry, a stinger) are unaffected. 0 or omitted: from the start; negative or non-finite: ignored with one warning.

Inherited from

LineOptions.offset


parameters?

parameters?: Record<string, string | number>;

Defined in: src/plugins/audio/runtime/playlists/options.ts:31

Initial values of the playlist's local parameters (labelled ones by label).

Inherited from

LineOptions.parameters


pitch?

pitch?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:14

Pitch ratio multiplier, default 1.

Inherited from

LineOptions.pitch


position?

position?: Vec3Like;

Defined in: src/plugins/audio/runtime/playlists/options.ts:16

Play at this world point (a spatial playlist; flat ones ignore it).

Inherited from

LineOptions.position


priority?

priority?: number;

Defined in: src/plugins/audio/runtime/dialogue/dialogueSystem.ts:52

0..100; default the event's, else the line's table priority.

Overrides

LineOptions.priority


reverbSend?

reverbSend?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:38

Inherited from

LineOptions.reverbSend


reverbSendCurve?

reverbSendCurve?: Curve;

Defined in: src/plugins/audio/runtime/playlists/options.ts:39

Inherited from

LineOptions.reverbSendCurve


volume?

volume?: number;

Defined in: src/plugins/audio/runtime/playlists/options.ts:12

Linear gain multiplier, default 1.

Inherited from

LineOptions.volume


whenBusy?

whenBusy?: "drop" | "queue" | "interrupt";

Defined in: src/plugins/audio/runtime/dialogue/dialogueSystem.ts:54

Overrides the event's whenBusy.

Clone this wiki locally