WoW:API PlaySound: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added two sounds for PlaySound())
m (Minor spelling corrections)
Line 18: Line 18:


  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 eligable to enter the battleground!
  PVPTHROUGHQUEUE - You are eligible to enter the battleground!
  GLUESCREENSMALLBUTTONMOUSEDOWN  
  GLUESCREENSMALLBUTTONMOUSEDOWN  
  GLUESCREENSMALLBUTTONMOUSEUP  
  GLUESCREENSMALLBUTTONMOUSEUP  
Line 200: Line 200:
  igQuestLogAbandonQuest  
  igQuestLogAbandonQuest  
  igQuestFailed  
  igQuestFailed  
  igSocialOepn                [This is Not a Wiki Typeo, "igSocialOepn" works in game]
  igSocialOepn                [This is Not a Wiki Typo, "igSocialOepn" works in game]
  igSocialClose  
  igSocialClose  
  igMainMenuOpen  
  igMainMenuOpen  
Line 211: Line 211:
  igMainMenuOptionCheckBoxOff  
  igMainMenuOptionCheckBoxOff  
  igMainMenuOptionFaerTab  
  igMainMenuOptionFaerTab  
  igInventoryOepn              [This is Not a Wiki Typeo, "igInventoryOepn" works in game]
  igInventoryOepn              [This is Not a Wiki Typo, "igInventoryOepn" works in game]
  igInventoryClose  
  igInventoryClose  
  igInventoryRotateCharacter  
  igInventoryRotateCharacter  
Line 246: Line 246:
  DwarfExploration  
  DwarfExploration  
  igPVPUpdate
  igPVPUpdate
ReadyCheck


----
----

Revision as of 23:53, 26 June 2006

PlaySound -Documentation by coder_1024 taken from Dhargo's post on the official forums-


PlaySound(SoundName);


Play one of a set of built-in sounds. Other players will not hear the sound.


Arguments


(SoundName)
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 
GLUESCREENSMALLBUTTONMOUSEUP 
GLUESCREENSMALLBUTTONMOUSEOVER 
GLUESCREENMEDIUMBUTTONMOUSEDOWN 
GLUESCREENMEDIUMBUTTONMOUSEUP 
GLUESCREENMEDIUMBUTTONMOUSEOVER 
GLUESCREENLARGEBUTTONMOUSEDOWN 
GLUESCREENLARGEBUTTONMOUSEUP 
GLUESCREENLARGEBUTTONMOUSEOVER 
GLUESCREENEDITBOXKEYCLICK 
GLUECHECKBOXMOUSEDOWN 
GLUECHECKBOXMOUSEUP 
GLUECHECKBOXMOUSEOVER 
GLUECHARCUSTOMIZATIONMOUSEDOWN 
GLUECHARCUSTOMIZATIONMOUSEUP 
GLUECHARCUSTOMIZATIONMOUSEOVER 
GLUESCROLLBUTTONMOUSEDOWN 
GLUESCROLLBUTTONMOUSEUP 
GLUESCROLLBUTTONMOUSEOVER 
GAMEABILITYBUTTONMOUSEDOWN 
GAMESPELLBUTTONMOUSEDOWN 
GAMEWINDOWOPEN 
GAMEWINDOWCLOSE 
GAMEDIALOGOPEN 
GAMEDIALOGCLOSE 
GAMENEWWINDOWTAB 
GAMESCREENSMALLBUTTONMOUSEDOWN 
GAMESCREENSMALLBUTTONMOUSEUP 
GAMESCREENSMALLBUTTONMOUSEOVER 
GAMESCREENMEDIUMBUTTONMOUSEDOWN 
GAMESCREENMEDIUMBUTTONMOUSEUP 
GAMESCREENMEDIUMBUTTONMOUSEOVER 
GAMESCREENLARGEBUTTONMOUSEDOWN 
GAMESCREENLARGEBUTTONMOUSEUP 
GAMESCREENLARGEBUTTONMOUSEOVER 
GAMETARGETFRIENDLYUNIT 
GAMETARGETHOSTILEUNIT 
GAMETARGETNEUTRALUNIT 
GAMEHIGHLIGHTFRIENDLYUNIT 
GAMEHIGHLIGHTHOSTILEUNIT 
GAMEHIGHLIGHTNEUTRALUNIT 
GAMEINITIALATTACK 
GAMEERROROUTOFRANGE 
GAMEERROROUTOFMANA 
GAMEERRORUNABLETOEQUIP 
GAMEERRORINVALIDTARGET 
ACTIONBARBUTTONDOWN 
MAINBUTTONBARMENU 
MINIMAPZOOMOUT 
MINIMAPZOOMIN 
MINIMAPOPEN 
MINIMAPCLOSE 
BAGMENUBUTTONPRESS 
LOOTWINDOWOPEN 
LOOTWINDOWCLOSE 
LOOTWINDOWCOINSOUND 
ITEMWEAPONSOUND 
ITEMARMORSOUND 
ITEMGENERICSOUND 
LEVELUPSOUND 
GLUECREATECHARACTERBUTTON 
GLUEENTERWORLDBUTTON 
SPELLBOOKOPEN 
SPELLBOOKCLOSE 
SPELLBOOKCHANGEPAGE 
PAPERDOLLOPEN 
PAPERDOLLCLOSE 
QUESTADDED 
QUESTCOMPLETED 
QUESTLOGOPEN 
QUESTLOGCLOSE 
GLUEGENERICBUTTONPRESS 
GAMEGENERICBUTTONPRESS 
INTERFACESOUND_MONEYFRAMEOPEN 
INTERFACESOUND_MONEYFRAMECLOSE 
INTERFACESOUND_CHARWINDOWOPEN 
INTERFACESOUND_CHARWINDOWCLOSE 
INTERFACESOUND_CHARWINDOWTAB 
INTERFACESOUND_GAMEMENUOPEN 
INTERFACESOUND_GAMEMENUCLOSE 
INTERFACESOUND_LOSTTARGETUNIT 
INTERFACESOUND_BACKPACKOPEN 
INTERFACESOUND_BACKPACKCLOSE 
INTERFACESOUND_GAMESCROLLBUTTON 
INTERFACESOUND_CURSORGRABOBJECT 
INTERFACESOUND_CURSORDROPOBJECT 
SHEATHINGSHIELDSHEATHE 
SHEATHINGWOODWEAPONSHEATHE 
SHEATHINGMETALWEAPONSHEATHE 
SHEATHINGWOODWEAPONUNSHEATHE 
SHEATHINGMETALWEAPONUNSHEATHE 
SHEATHINGSHIELDUNSHEATHE 
igCreatureAggroDeselect 
igQuestListOpen 
igQuestListClose 
igQuestListSelect 
igQuestListComplete 
igQuestCancel 
igPlayerInvite 
igPlayerInviteAccept 
igPlayerInviteDecline 
GAMEERRORUNABLETOEQUIP 
ITEMGENERICSOUND 
GAMEERRORINVALIDTARGET 
LEVELUP 
GAMEERROROUTOFRANGE 
QUESTADDED 
MONEYFRAMEOPEN 
MONEYFRAMECLOSE 
LOOTWINDOWOPEN 
LOOTWINDOWCLOSE 
LOOTWINDOWCOINSOUND 
GAMEHIGHLIGHTHOSTILEUNIT 
GAMEHIGHLIGHTNEUTRALUNIT 
GAMEHIGHLIGHTFRIENDLYUNIT 
INTERFACESOUND_LOSTTARGETUNIT 
INTERFACESOUND_CURSORGRABOBJECT 
INTERFACESOUND_CURSORDROPOBJECT 
GAMESCREENMEDIUMBUTTONMOUSEDOWN 
GAMEABILITYACTIVATE 
GAMESPELLACTIVATE 
gsTitleEnterWorld 
gsTitleOptions 
gsTitleQuit 
gsTitleCredits 
gsTitleIntroMovie 
gsTitleOptionScreenResolution 
gsTitleOption16bit 
gsTitleOption32bit 
gsTitleOptionOpenGL 
gsTitleOptionDirect3D 
gsTitleOptionFullScreenMode 
gsTitleOptionOK 
gsTitleOptionExit 
gsLogin 
gsLoginNewAccount 
gsLoginChangeRealm 
gsLoginExit 
gsLoginChangeRealmOK 
gsLoginChangeRealmSelect 
gsLoginChangeRealmCancel 
gsCharacterSelection 
gsCharacterSelectionEnterWorld 
gsCharacterSelectionDelCharacter 
gsCharacterSelectionAcctOptions 
gsCharacterSelectionExit 
gsCharacterSelectionCreateNew 
gsCharacterCreationClass 
gsCharacterCreationRace 
gsCharacterCreationGender 
gsCharacterCreationLook 
gsCharacterCreationCreateChar 
gsCharacterCreationCancel 
igCurrentActiveSpell
igMiniMapOpen 
igMiniMapClose 
igMiniMapZoomIn 
igMiniMapZoomOut 
igChatEmoteButton 
igChatScrollUp 
igChatScrollDown 
igChatBottom 
igSpellBookOpen 
igSpellBookClose  
igSpellBokPageTur n 
igSpellBookSpellIconPickup 
igSpellBookSpellIconDrop 
igAbilityOpen 
igAbilityClose 
igAbiliityPageTurn 
igAbilityIconPickup 
igAbilityIconDrop 
igCharacterInfoOpen 
igCharacterInfoClose 
igCharacterInfoTab 
igCharacterInfoScrollUp 
igCharacterInfoScrollDown 
igQuestLogOpen 
igQuestLogClose 
igQuestLogAbandonQuest 
igQuestFailed 
igSocialOepn                 [This is Not a Wiki Typo, "igSocialOepn" works in game]
igSocialClose 
igMainMenuOpen 
igMainMenuClose 
igMainMenuOption 
igMainMenuLogout 
igMainMenuQuit 
igMainMenuContinue 
igMainMenuOptionCheckBoxOn 
igMainMenuOptionCheckBoxOff 
igMainMenuOptionFaerTab 
igInventoryOepn               [This is Not a Wiki Typo, "igInventoryOepn" works in game]
igInventoryClose 
igInventoryRotateCharacter 
igBackPackOpen 
igBackPackClose 
igBackPackCoinSelect 
igBackPackCoinOK 
igBackPackCoinCancel 
igCharacterNPCSelect 
igCharacterNPCDeselect 
igCharacterSelect 
igCharacterDeselect 
igCreatureNeutralSelect 
igCreatureNeutralDeselect 
igCreatureAggroSelect 
UChatScrollButton 
Deathbind Sound 
LOOTWINDOWOPENEMPTY 
TaxiNodeDiscovered 
UnwrapGift 
TellMessage 
WriteQuest 
MapPing 
igBonusBarOpen 
FriendJoinGame 
Fishing Reel in 
HumanExploration 
OrcExploration 
UndeadExploration 
TaurenExploration 
TrollExploration 
NightElfExploration 
GnomeExploration 
DwarfExploration 
igPVPUpdate
ReadyCheck

Example


PlaySound("LEVELUPSOUND");

Details



Template:WoW API