(02-09-2012 03:19 PM)flamez3 Wrote:
(02-09-2012 03:15 PM)furzor Wrote:
(02-09-2012 02:28 PM)flamez3 Wrote: -Convert your music into a .ogg file. Using audacity or whatever you want.
Since we are using music, we will not need to use a .snt file.
in your script file for your map, in the void OnStart area; add this:
PlayMusic("nameofmusic.ogg", true, 1, 0.5f, 0, false);
Replace the bold text to the name of the file you named .ogg (keep the .ogg)
And there you go.
and must create a script area?
No, it goes in void OnStart, so it plays when the map start up.
and how do I do it to start playing when the player walks into the room? something like a disco room