v0.13.8

PlayMusic

functionguessedavailable in: camelot

Plays the specified sound file on loop to the "Music" sound channel.

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

Parameters

nametypedescription
soundnumber | stringFileDataID of a game sound or file path to an addon sound.

Returns

willPlay · boolean · Seems to always return true even for invalid file paths or FileDataIDs.

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 ↗.