The path to the music file.
At what offset the music starts. In milliseconds.
How long the music is faded in. In milliseconds.
This native may cause a short lag spike as soon as the music starts. To circumvent this lag, stop the current music without fadeout before calling this function (
Sets the file as the current music for the map, and plays it.
Music is on its own channel and can be toggled on and off within the Warcraft III game menu.
Should work with mp3s, midis and wavs.
- return type
- Source code
native PlayMusicEx takes string musicName, integer frommsecs, integer fadeinmsecs returns nothing