WoW:API PlaySound: Difference between revisions

m
Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect
({{wowapi}}, format)
m (Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect)
 
(4 intermediate revisions by 4 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 179: Line 180:
  igAbilityIconPickup  
  igAbilityIconPickup  
  igAbilityIconDrop  
  igAbilityIconDrop  
TalentScreenOpen
TalentScreenClose
  igCharacterInfoOpen  
  igCharacterInfoOpen  
  igCharacterInfoClose  
  igCharacterInfoClose  
Line 238: 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