SetSoundParamsFromLabel

Parameters
soundHandle sound

The sound to configure.

soundLabel string

the 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

return type
nothing
Source code
native SetSoundParamsFromLabel      takes sound soundHandle, string soundLabel returns nothing
Source
common.j
wc3modding.com
SetSoundParamsFromLabel