no edit summary
(removing broken link) |
No edit summary |
||
| 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== | ||
| Line 241: | 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"); | ||