Stop currently playing music
My goal is to start my own music in certain situations. E.g.:
Code:
PlaySoundFile("Sound\\Music\\ZoneMusic\\UlduarRaidInt\\UR_TitanOrchestraIntro.mp3", "Music") Is it possible? |
Munkdev I believe posted this to stop sounds playing (if it was someone else, apologies and please let me know). Should also work for PlaySoundFile():
Lua Code:
There's no pause/restart functions. |
All that really does is flatten the UI sound channels, it doesn't do anything to music and sounds queued up in C code. I'd suggest using PlayMusic(), which does replace the in-game music, but it plays whatever you give it in a loop. You can use StopMusic() to have the game resume playing its own.
|
All times are GMT -6. The time now is 09:27 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI