v0.13.8

PlaySound

functionguessedavailable in: camelot

Plays the specified sound by SoundKitID.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
soundKitIDnumberSound Kit ID in . Sounds used in FrameXML are defined in the SOUNDKIT table.
channelstring?The sound channel.
forceNoDuplicatesboolean?Allows duplicate sounds if false.
runFinishCallbackboolean?Fires SOUNDKIT_FINISHED when the sound has finished playing, arg1 will be soundHandle.

Returns

#nametypedescription
1willPlayboolean?true if the sound will be played, nil otherwise (prevented by a muted sound channel, for instance).
2soundHandlenumberidentifier for the queued playback.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.