Frictional Games Forum (read-only)
Sound won't loop. - 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: Sound won't loop. (/thread-29812.html)



Sound won't loop. - Spazatron - 04-10-2015

I have a sound that's supposed to loop but it won't loop. I've set in the .snt file "Loop=True" but it just stops at the end of the sound. Also, the volume of the sound doesn't change when I change the .snt file.

I'm using PlaySoundAtEntity to play the sound.


RE: Sound won't loop. - A.M Team - 04-10-2015

(04-10-2015, 07:21 PM)Spazatron Wrote: I have a sound that's supposed to loop but it won't loop. I've set in the .snt file "Loop=True" but it just stops at the end of the sound. Also, the volume of the sound doesn't change when I change the .snt file.

I'm using PlaySoundAtEntity to play the sound.
Try saying "true" instead of "True".


RE: Sound won't loop. - FlawlessHappiness - 04-10-2015

.snt files are weird...

Sometimes you need to do something more than just setting "Loop" to true.
I'd find an already existing .snt file, that loops to begin with. Saves you the trouble of trying every setting out.


RE: Sound won't loop. - Unearthlybrutal - 04-11-2015

If you can't get it to work, do a timer that loops the file.
Think outside the box Wink