Skip to main content

[NodeMod Core]

/ .. / EmitSoundOptions

Interface: EmitSoundOptions

Defined in: src/core/sound.ts:6

Configuration options for emitting sounds.

Extended by

Properties

entity?

optional entity: number | Entity

Defined in: src/core/sound.ts:8

Target entity or entity index (0 for world entity)

channel?

optional channel: number

Defined in: src/core/sound.ts:10

Audio channel to use

sound

sound: string

Defined in: src/core/sound.ts:12

Path to the sound file

volume?

optional volume: number

Defined in: src/core/sound.ts:14

Volume level (0.0 to 1.0)

attenuation?

optional attenuation: number

Defined in: src/core/sound.ts:16

Sound attenuation over distance

flags?

optional flags: number

Defined in: src/core/sound.ts:18

Sound transmission flags

pitch?

optional pitch: number

Defined in: src/core/sound.ts:20

Pitch adjustment (1-255, 100 = normal)