Frictional Games Forum (read-only)

Full Version: Playing Music at start
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I figured it out, this is how to play music at start:


void OnStart()
{
PlayMusic("YourSoundHere",true,1,0,0,false);
}
Where do you put the sound O.o
(06-23-2012, 04:58 PM)Jagsrs28 Wrote: [ -> ]Where do you put the sound O.o
In your custom story folder, create a new folder called sound and put your .ogg file in there. it doesen't have to be .ogg but if it's background music like ambient stuff then it should be .ogg