Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Play the same custom sound at multiple entities?
Rapsis Offline
Member

Posts: 69
Threads: 6
Joined: Oct 2012
Reputation: 0
#6
RE: Play the same custom sound at multiple entities?

(08-10-2013, 12:18 PM)sonataarctica Wrote:
(08-10-2013, 11:51 AM)Rapsis Wrote: Hey people, I'm using:

PlaySoundAtEntity("", "raining.snt", "rainsound", 1, true);    

PlaySoundAtEntity("", "raining.snt", "rainsound_1", 1, true);    

PlaySoundAtEntity("", "raining.snt", "rainsound_2", 1, true);    

PlaySoundAtEntity("", "raining.snt", "rainsound_3", 1, true);    

PlaySoundAtEntity("", "raining.snt", "rainsound_4", 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?

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?

I'm using scriptareas. Names are all correct.

Nevermind, I forgot to remove the .cache file.
(This post was last modified: 08-10-2013, 12:44 PM by Rapsis.)
08-10-2013, 12:38 PM
Find


Messages In This Thread
RE: Play the same custom sound at multiple entities? - by Rapsis - 08-10-2013, 12:38 PM



Users browsing this thread: 1 Guest(s)