music help - 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: music help (/thread-25950.html) |
music help - theodorg - 08-24-2014 Why isnt this music script working?? { void PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume); PlayMusic(creep.ogg, false, 1, 1, 1, true); } RE: music help - Radical Batz - 08-24-2014 (08-24-2014, 06:58 PM)theodorg Wrote: Why isnt this music script working?? It is suppose to look like this PHP Code: void OnStart() RE: music help - theodorg - 08-24-2014 (08-24-2014, 07:00 PM)Dr.Badcat Wrote:(08-24-2014, 06:58 PM)theodorg Wrote: Why isnt this music script working?? oh thx RE: music help - Neelke - 08-24-2014 Code: void OnStart() No quotes in PlayMusic. Added them there for you. And I'm assuming you don't have a void OnStart in the script? RE: music help - DnALANGE - 08-24-2014 (08-24-2014, 07:00 PM)Dr.Badcat Wrote:(08-24-2014, 06:58 PM)theodorg Wrote: Why isnt this music script working?? badcat, next time you want to help someone tell then the right thing... The creep must have "creep"... RE: music help - Radical Batz - 08-24-2014 (08-24-2014, 08:17 PM)DnALANGE Wrote:(08-24-2014, 07:00 PM)Dr.Badcat Wrote:(08-24-2014, 06:58 PM)theodorg Wrote: Why isnt this music script working?? I forgot coding XD What do you want me to do? I haven't coded like in about 2 months |