Plays one of WoW's built-in sound effects. Only supports sounds found in the Sound\Interface directory within WoW's MPQ files; to play other built-in sounds or sounds in an addon directory, use PlaySoundFile().


See also Sound functions.

Signature:

PlaySound("sound", "soundChannel")

Arguments:

  • sound - Name of a built-in sound effect (string)
  • soundChannel - The sound volume slider setting the sound should use. One of SFX, Music, Ambience or Master. (string)

Examples:

PlaySound("AuctionWindowOpen")
PlaySound("RaidWarning", "Master")