Legit problem - LOL
I deleted my last post because I found all of my answers.
I am trying to do what you said below. However, I am not using imported files. I just want to make a play list of Blizzard Music.
-When I change-
call PlayMusicBJ(" music")
-To-
"Sound\Music\mp3Music\Credits.mp3;Sound\Music\mp3Music\PH1.mp3;Sound\Music\mp3Music\PursuitTheme.mp3"
It crashes every time I try to save my map. I can save it when the trigger is in text format, but once I alter it, it crashes.
Help!!
---Quoting Darg---
Here's something I copied into my archive a long time ago:
In Sound Editor, Import External Music will import individual mp3
songs. In order to create a music list of them, you have to use
Custom Text.
1. In Trigger Editor, create a new trigger with no events or
conditions, and a single action:
Music - Play Music
2. Select Edit|Convert to Custom Text, ignoring the warning
dialog. In the custom text, you will see a function that looks
like:
function Trig_Create_Music_List_Actions takes nothing returns
nothing
call PlayMusicBJ(" .....
3. Alter that function to indicate the mp3 files that you have
imported. You must not use their variable names, but their file
names, and you must include the path shown below.
function Trig_Create_Music_List_Actions takes nothing returns
nothing
call PlayMusicBJ(
"war3mapImported\\Handel.mp3;war3mapImported\\Bach.mp3;war3mapI
m
ported\\Mozart.mp3" )
endfunction
the line that begins with "call" should all be on one line
until the closing parenthesis. In the above examples, I am
creating a play list of three imported mp3 files: Handel.mp3,
Bach.mp3, and Mozart.mp3. You must include the
"war3mapImported\\" path for each file.
4. When this trigger is run, it will begin to play the new music
list, starting with a random song, and then cycle through them
repeatedly.
If you make any action to play the default 'music' preset, then
you must call this trigger again to return to your custom play
list.