ID:167316
 
I already know how to do the output thing to make the music but how do i put the music in the game?
If you mean actually getting the music files into the DM compiler, then open the midi/wav, click "File", "Save As", and save it into your Game's folder.

If you mean actually getting the music to play in your game, then try something similar to this:

mob/Login()
world << "[src] has logged in!"
src << sound('insertmidinamehere.mid',1//*)

*= Note that you can either put one or zero here, one if you want it to constantly replay the midi, or zero if you want it to play once around, then stop.
In response to Reinhartstar
Of course, leaving the binary digit (0-1) out also makes the sound play once...


--Vito