WoW:API PlayMusic

From AddOn Studio
Revision as of 15:05, 1 January 2005 by WoWWiki>Holo
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
PlayMusic -Documentation by Holo-


PlayMusic("mp3");


Plays the given mp3.


Arguments


("mp3")
mp3
String - This is the complete path to an mp3. It is relative to your World of Warcraft Folder!

Example


PlayMusic("Sound\\Music\\GlueScreenMusic\\wow_main_theme.mp3");

Details


This function plays the given music file (file format has to be mp3, I think. I have not tried others.) You cannot pause the playback. You can stop it with StopMusic.

Template:WoW API