music playlist:
The Sound - Play Music trigger action converts to the following custom text.
function Trig_Untitled_Trigger_001_Actions takes nothing returns
nothing
call PlayMusicBJ( "music" )
endfunction
You can replace "music" with a semicolon delimited list of
your imported music. Here's an example:
function Trig_Untitled_Trigger_002_Actions takes nothing returns
nothing
call PlayMusicBJ(
"war3mapImported\\Song1.mp3;war3mapImported\\Song2.mp3;war3mapImported\\Song3.mp3" )
endfunction
Also note that you must include the full pathname as listed in the
example above. Don't forget the war3mapImported\\ part, it's very important.
This technique also works with in-game music, as long as you get the music paths correct (see war3.mpq to find out where all the music is stored).
reviving hero code coming soon to a forum near you....