Playing Music at start - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Playing Music at start (/thread-16427.html) |
Playing Music at start - MaZiCUT - 06-23-2012 I figured it out, this is how to play music at start: void OnStart() { PlayMusic("YourSoundHere",true,1,0,0,false); } RE: Playing Music at start - Jagsrs28 - 06-23-2012 Where do you put the sound O.o RE: Playing Music at start - MaZiCUT - 06-23-2012 (06-23-2012, 04:58 PM)Jagsrs28 Wrote: Where do you put the sound O.oIn 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 |