Name
WaitMusicEnd -- halt until music has finished playing (V10.0)
Synopsis
WaitMusicEnd(id)
Function
This function halts the script execution until the music specified by id has finished playing. After that, the execution of your script is continued. If you need to do something while your music is playing, use the IsMusicPlaying() command in conjunction with a loop.

Inputs
id
identifier of a music that is currently playing

Show TOC