WoW:API PlaySound: Difference between revisions

m
Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect
(removing broken link)
m (Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect)
 
(One intermediate revision by one other user 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");


==Parameters==
==Parameters==
Line 241: 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