WoW:API PlaySound: Difference between revisions

621 bytes removed ,  25 December 2006
{{wowapi}}, format
m (Added RaidWarning sound to list)
({{wowapi}}, format)
Line 1: Line 1:
<center>'''PlaySound''' ''-Documentation by [[user:coder_1024|coder_1024]] taken from Dhargo's post on the official forums-''</center>
{{wowapi}} __NOTOC__
 
Play one of a set of built-in sounds.  Other players will not hear the sound.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
  PlaySound(SoundName);
  PlaySound(SoundName);
 
==Parameters==
<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
===Arguments===
 
Play one of a set of built-in sounds.  Other players will not hear the sound.
 
----
;''Arguments''
 
<!-- List each argument, together with its type -->
 
:(SoundName)
:;SoundName : String - One of the below sound names (not all these actually make a sound)
:;SoundName : String - One of the below sound names (not all these actually make a sound)
  PVPENTERQUEUE - Sound for entering BG queue and when it refreshes periodicly
  PVPENTERQUEUE - Sound for entering BG queue and when it refreshes periodicly
  PVPTHROUGHQUEUE - You are eligible to enter the battleground!
  PVPTHROUGHQUEUE - You are eligible to enter the battleground!
Line 251: Line 239:
  AuctionWindowClose
  AuctionWindowClose


----
==Example==
;''Example''
 
<!-- If it helps, include an example here, though it's not required if the usage is self-explanatory -->
 
  PlaySound("LEVELUPSOUND");
  PlaySound("LEVELUPSOUND");
----
;''Details''
<!-- Details not appropriate for the main description can go here -->
----
{{Template:WoW API}}