m
Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect
No edit summary |
m (Move page script moved page API PlaySound to WoW:API PlaySound without leaving a redirect) |
||
| (11 intermediate revisions by 11 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. | |||
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 | |||
PVPTHROUGHQUEUE - You are eligible to enter the battleground! | |||
GLUESCREENSMALLBUTTONMOUSEDOWN | GLUESCREENSMALLBUTTONMOUSEDOWN | ||
GLUESCREENSMALLBUTTONMOUSEUP | GLUESCREENSMALLBUTTONMOUSEUP | ||
| Line 189: | Line 180: | ||
igAbilityIconPickup | igAbilityIconPickup | ||
igAbilityIconDrop | igAbilityIconDrop | ||
TalentScreenOpen | |||
TalentScreenClose | |||
igCharacterInfoOpen | igCharacterInfoOpen | ||
igCharacterInfoClose | igCharacterInfoClose | ||
| Line 198: | Line 191: | ||
igQuestLogAbandonQuest | igQuestLogAbandonQuest | ||
igQuestFailed | igQuestFailed | ||
igSocialOepn | igSocialOepn [This is Not a Wiki Typo, "igSocialOepn" works in game] | ||
igSocialClose | igSocialClose | ||
igMainMenuOpen | igMainMenuOpen | ||
| Line 209: | Line 202: | ||
igMainMenuOptionCheckBoxOff | igMainMenuOptionCheckBoxOff | ||
igMainMenuOptionFaerTab | igMainMenuOptionFaerTab | ||
igInventoryOepn | igInventoryOepn [This is Not a Wiki Typo, "igInventoryOepn" works in game] | ||
igInventoryClose | igInventoryClose | ||
igInventoryRotateCharacter | igInventoryRotateCharacter | ||
| Line 244: | Line 237: | ||
DwarfExploration | DwarfExploration | ||
igPVPUpdate | igPVPUpdate | ||
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"); | |||