Amnesia sound problem? - 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: Amnesia sound problem? (/thread-21003.html) |
Amnesia sound problem? - heroswine24 - 04-01-2013 Hello all of Frictional Games, and Amnesia Scripters, I have a problem with scripting sounds into my amnesia custom story.I have tried countless times to enter them, they are original sounds from amnesia NOT CUSTOM. They just don't make any sound whether I collide, interact, or anything else. I really need help to continue my story, plz reply Oh also here is my script, void OnStart() { AddEntityCollideCallback("Player", "ScriptArea_2", "strangesounds", true, 0); } void strangesounds(string &in asParent, string &in asChild, int alState) { PlaySoundAtEntity("", "amb_idle_scratch02.ogg", "Player", 0, false); } RE: Amnesia sound problem? - PutraenusAlivius - 04-01-2013 Code: PlaySoundAtEntity("", "amb_idle_scratch.snt", "Player", 0, false); RE: Amnesia sound problem? - heroswine24 - 04-01-2013 (04-01-2013, 07:01 AM)JustAnotherPlayer Wrote: Thanks man, it worked RE: Amnesia sound problem? - OriginalUsername - 04-02-2013 If you want to play sounds at the player, you could yse the PlaySoundGui. I find it much easier to use |