WoW:API PlaySound: Difference between revisions

m
Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect
No edit summary
m (Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
Play one of a set of built-in sounds.  Other players will not hear the sound.
Play one of a set of built-in sounds.  Other players will not hear the sound.
  PlaySound(SoundName);
  PlaySound("SoundName", "channel");
 
For a full list of sound scripts, see the [[wowwiki: list of playsound scripts|Full list of Playsound scripts]]


==Parameters==
==Parameters==
Line 243: Line 241:
  AuctionWindowOpen
  AuctionWindowOpen
  AuctionWindowClose
  AuctionWindowClose
:;channel : String - Either "Master" (this will play the sound also with disabled sounds like before 4.0.1), "SFX", "Ambience", "Music".


==Example==
==Example==
  PlaySound("LEVELUPSOUND");
  PlaySound("LEVELUPSOUND", "master");
Anonymous user