Frictional Games Forum (read-only)
Problems with sound - 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: Problems with sound (/thread-9590.html)



Problems with sound - narutohokager - 08-04-2011

Hi FG.

I have a problem with a sound, i want it to play the sound "enabled" the grunt, but it plays one of the brute, because he has the same filename but in different folders...

Any help ?

Here is the script command

Code:
PlaySoundAtEntity("","enabled", "AreaGruntSound", 0, false);

Thank.


RE: Problems with sound - Your Computer - 08-04-2011

You could try copying the files to your custom story's sounds folder and renaming the files.


RE: Problems with sound - narutohokager - 08-04-2011

Thank, its working ! Big Grin


RE: Problems with sound - palistov - 08-05-2011

The reason for that is the files are named the same. If you don't want the hassle of copying it, you can always further specify the path name.

PlaySoundAtEntity("", "grunt/enabled.snt", "AreaGruntSound", 0, false);