Soundentities restart when leaving area. - 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: Soundentities restart when leaving area. (/thread-25343.html) |
Soundentities restart when leaving area. - goodcap - 05-21-2014 I made a sound entity, it plays music. When you leave the max distance of the area and go back into the area the sound entity restarts playing the music from the beginning....how can I change it so the music continues playing instead of restarting? RE: Soundentities restart when leaving area. - Mudbill - 05-22-2014 What did you use to call it? I think in PlaySoundAtEntity, the last parameter is a boolean for whether you want it to "remember" its state. Use false. RE: Soundentities restart when leaving area. - Daemian - 05-22-2014 And for PlayMusic is abResume=true RE: Soundentities restart when leaving area. - goodcap - 05-22-2014 Thanks guys |