Skip to main content

[NodeMod Core]

/ .. / SoundConfig

Interface: SoundConfig

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

Sound configuration alias for batch operations.

Extends​

Properties​

entity?​

optional entity: number | Entity

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

Target entity or entity index (0 for world entity)

Inherited from​

EmitSoundOptions.entity

channel?​

optional channel: number

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

Audio channel to use

Inherited from​

EmitSoundOptions.channel

sound​

sound: string

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

Path to the sound file

Inherited from​

EmitSoundOptions.sound

volume?​

optional volume: number

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

Volume level (0.0 to 1.0)

Inherited from​

EmitSoundOptions.volume

attenuation?​

optional attenuation: number

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

Sound attenuation over distance

Inherited from​

EmitSoundOptions.attenuation

flags?​

optional flags: number

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

Sound transmission flags

Inherited from​

EmitSoundOptions.flags

pitch?​

optional pitch: number

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

Pitch adjustment (1-255, 100 = normal)

Inherited from​

EmitSoundOptions.pitch