Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

DialogueLine

Defined in: client/api.d.ts:532

A native spoken line, as the game was about to post it.

readonly event: string

Defined in: client/api.d.ts:556

The game’s dialogue event, e.g. “VO_Spell” or “emote_effort_jump_short”.


readonly line: string

Defined in: client/api.d.ts:551

The line id, e.g. “PlayerMale_00414”.


readonly networkId: number

Defined in: client/api.d.ts:541

The speaking player, NPC or Character; 0 for the game’s own people and the Floo announcer.


readonly nonverbal: boolean

Defined in: client/api.d.ts:561

A grunt, breath, laugh or gasp: one of the emote_* events “nonverbal” lets through.


readonly position: Vec3 | null

Defined in: client/api.d.ts:566

Where it would have played: the speaker’s body, or the spot it was posted at.


readonly speaker: "world" | "player" | "players" | "npcs" | "characters" | "floo"

Defined in: client/api.d.ts:536

Who says it, as DialoguePolicy names them.


readonly voice: string

Defined in: client/api.d.ts:546

The voice it is recorded in (“PlayerMale”, “AmitKakkar”, “IgnatiaFlooTravel”): the line id up to its underscore.