[NodeMod Core]
/ .. / EmitSoundOptions
Interface: EmitSoundOptions
Defined in: src/core/sound.ts:6
Configuration options for emitting sounds.
Extended by
Properties
entity?
optionalentity:number|Entity
Defined in: src/core/sound.ts:8
Target entity or entity index (0 for world entity)
channel?
optionalchannel: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?
optionalvolume:number
Defined in: src/core/sound.ts:14
Volume level (0.0 to 1.0)
attenuation?
optionalattenuation:number
Defined in: src/core/sound.ts:16
Sound attenuation over distance
flags?
optionalflags:number
Defined in: src/core/sound.ts:18
Sound transmission flags
pitch?
optionalpitch:number
Defined in: src/core/sound.ts:20
Pitch adjustment (1-255, 100 = normal)