SetSoundParamsFromLabel
- Parameters
soundHandle soundThe sound to configure.
soundLabel stringthe label out of one of the SLK-files, whose settings should be used, e.g. values like volume, pitch, pitch variance, priority, channel, min distance, max distance, distance cutoff or eax.
- comment
Applies default settings to the sound, which are found under the label from the following SLK-files:
- UI\SoundInfo\AbilitySounds.slk
- UI\SoundInfo\AmbienceSounds.slk
- UI\SoundInfo\AnimSounds.slk
- UI\SoundInfo\DialogSounds.slk
- UI\SoundInfo\UISounds.slk
- UI\SoundInfo\UnitAckSounds.slk
- UI\SoundInfo\UnitCombatSounds.slk
- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
native SetSoundParamsFromLabel takes sound soundHandle, string soundLabel returns nothing