Frictional Games Forum (read-only)
[SCRIPT] Script 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: [SCRIPT] Script Help (/thread-20888.html)

Pages: 1 2 3 4


RE: check if active/ string to int - Knusper. - 03-26-2013

nope Undecided


RE: check if active/ string to int - Adrianis - 03-26-2013

Ok, add a debug message into the function that plays the sound (if you haven't already)
Also, try commenting out the line that plays the music, just to make sure that it isn't an issue with priority after all...


RE: check if active/ string to int - Knusper. - 03-26-2013

debug message is shown, and still if i delete the music completely, I dont hear any sound...
very strange that nothing is working.


RE: check if active/ string to int - Adrianis - 03-26-2013

*frustration noise*

Try fully restarting Amnesia too. Sounds dumb but it's worked for me in the past when sound doesn't want to play.

Failing that, try playing the .ogg itself using the PlayMusic function, to see if it's a problem with the file.

Also, is that .ogg in mono or stereo?


RE: check if active/ string to int - Knusper. - 03-26-2013

stereo.
Does it have to be mono? Blush


RE: check if active/ string to int - NaxEla - 03-26-2013

Try putting a capital 'P' for Player


RE: check if active/ string to int - Adrianis - 03-26-2013

(03-26-2013, 05:44 PM)NaxEla Wrote: Try putting a capital 'P' for Player

*Self-palm-face-combo

(03-26-2013, 02:03 PM)Knusper. Wrote: stereo.
Does it have to be mono? Blush

No, stereo should be fine


RE: check if active/ string to int - Knusper. - 03-26-2013

I knew that it was that easy... Dodgy
It works now Tongue
thx


RE: check if active/ string to int - Adrianis - 03-26-2013

I feel bad now... sorry Knusper, thanks Nax Tongue


RE: check if active/ string to int - Knusper. - 03-26-2013

you dont have to Sleepy