m
Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect
m (Minor spelling corrections) |
m (Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect) |
||
| (7 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{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", "channel"); | |||
==Parameters== | |||
===Arguments=== | |||
:;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 191: | Line 180: | ||
igAbilityIconPickup | igAbilityIconPickup | ||
igAbilityIconDrop | igAbilityIconDrop | ||
TalentScreenOpen | |||
TalentScreenClose | |||
igCharacterInfoOpen | igCharacterInfoOpen | ||
igCharacterInfoClose | igCharacterInfoClose | ||
| Line 247: | Line 238: | ||
igPVPUpdate | igPVPUpdate | ||
ReadyCheck | ReadyCheck | ||
RaidWarning | |||
AuctionWindowOpen | |||
AuctionWindowClose | |||
:;channel : String - Either "Master" (this will play the sound also with disabled sounds like before 4.0.1), "SFX", "Ambience", "Music". | |||
; | |||
==Example== | |||
PlaySound("LEVELUPSOUND", "master"); | |||