Play the same custom sound at multiple entities? - 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: Play the same custom sound at multiple entities? (/thread-22381.html) |
Play the same custom sound at multiple entities? - Rapsis - 08-10-2013 Hey people, I'm using: Code: PlaySoundAtEntity("", "raining.snt", "rainsound", 1, true); But it only plays the sound at the first entity that way. I'm horrible at variables. How can I make them all play at the same time? RE: Play the same custom sound at multiple entities? - PutraenusAlivius - 08-10-2013 Then call them from different functions. RE: Play the same custom sound at multiple entities? - ExpectedIdentifier - 08-10-2013 (08-10-2013, 11:51 AM)Rapsis Wrote: Hey people, I'm using: It must be a problem with the name of the entity that you are trying to play the sound at. Also, what entities are you trying to play the sounds at exactly? RE: Play the same custom sound at multiple entities? - Rapsis - 08-10-2013 (08-10-2013, 12:13 PM)JustAnotherPlayer Wrote: Then call them from different functions. I have no clue what you're saying. RE: Play the same custom sound at multiple entities? - Tomzzz - 08-10-2013 (08-10-2013, 12:19 PM)Rapsis Wrote:(08-10-2013, 12:13 PM)JustAnotherPlayer Wrote: Then call them from different functions. i think he mean that you should use for each sound new function RE: Play the same custom sound at multiple entities? - Rapsis - 08-10-2013 (08-10-2013, 12:18 PM)sonataarctica Wrote:(08-10-2013, 11:51 AM)Rapsis Wrote: Hey people, I'm using: I'm using scriptareas. Names are all correct. Nevermind, I forgot to remove the .cache file. |