Function SetSoundParamsFromLabel

  • 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

    Parameters

    • soundHandle: HandleHolder<"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.

    Returns void

Generated using TypeDoc