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?
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#3
RE: Play the same custom sound at multiple entities?

(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?

Closure ModDB page:

[Image: 16LO8Sx]
(This post was last modified: 08-10-2013, 12:20 PM by ExpectedIdentifier.)
08-10-2013, 12:18 PM
Find


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



Users browsing this thread: 1 Guest(s)