The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Play the same custom sound at multiple entities?

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?
(This post was last modified: 08-10-2013, 11:51 AM by Rapsis.)
08-10-2013, 11:51 AM
Find


Messages In This Thread
Play the same custom sound at multiple entities? - by Rapsis - 08-10-2013, 11:51 AM



Users browsing this thread: 1 Guest(s)