API UnmuteSoundFile

From Wowpedia
Jump to: navigation, search

Unmutes a sound file.

UnmuteSoundFile("soundFile" or fileDataID)

Arguments

soundFile 
string - File path to an addon sound.
or fileDataID 
number - FileDataID of a game sound.

Example

Plays the Sound/Spells/LevelUp.ogg sound

/run PlaySoundFile(569593)

Mutes it, the sound won't play

/run MuteSoundFile(569593); PlaySoundFile(569593) 

Unmutes it and plays it

/run UnmuteSoundFile(569593); PlaySoundFile(569593)

Patch changes

  • Battle for Azeroth Patch 8.2.0 (2019-06-25): Added. (Build 30948 Jun 27 2019)

See also