[SCRIPT] StopSound Not Working With Fade? - 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] StopSound Not Working With Fade? (/thread-31474.html) |
StopSound Not Working With Fade? - BonesTheRabbit - 10-30-2015 So, I've encountered a strange bug. StopSound doesn't seem to work for looping .snt files, if the afFadeTime value is anything but zero. Have tested it with 24_mb_02 and 24_knife specifically. Was just wondering if anyone has had a similar experience with this. Code: void soundToggle() RE: StopSound Not Working With Fade? - FlawlessHappiness - 10-30-2015 Have you tried with other looping sounds? RE: StopSound Not Working With Fade? - BonesTheRabbit - 11-05-2015 (10-30-2015, 08:52 PM)FlawlessHappiness Wrote: Have you tried with other looping sounds?No, not yet. I'll try it out with a few other custom looping sounds. I'm wondering if maybe the pause between loops is the issue, as both of the aforementioned sounds have delays between repeats. |