[NodeMod Core]
/ .. / SoundConfig
Interface: SoundConfig
Defined in: src/core/sound.ts:26
Sound configuration alias for batch operations.
Extends
Properties
entity?
optionalentity:number|Entity
Defined in: src/core/sound.ts:8
Target entity or entity index (0 for world entity)
Inherited from
channel?
optionalchannel:number
Defined in: src/core/sound.ts:10
Audio channel to use
Inherited from
sound
sound:
string
Defined in: src/core/sound.ts:12
Path to the sound file
Inherited from
volume?
optionalvolume:number
Defined in: src/core/sound.ts:14
Volume level (0.0 to 1.0)
Inherited from
attenuation?
optionalattenuation:number
Defined in: src/core/sound.ts:16
Sound attenuation over distance
Inherited from
flags?
optionalflags:number
Defined in: src/core/sound.ts:18
Sound transmission flags
Inherited from
pitch?
optionalpitch:number
Defined in: src/core/sound.ts:20
Pitch adjustment (1-255, 100 = normal)