WoW:API PlaySound: Difference between revisions

m
Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect
m (adding talent screen open/close sounds)
m (Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect)
 
(3 intermediate revisions by 3 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");
 
==Parameters==
==Parameters==
===Arguments===
===Arguments===
Line 240: 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