Jump to content
person2611

Airdrop Audio Broadcast

Recommended Posts

Okay so out of 10 my level of knowledge on coding is 5, I came across an air drop script and I want to change the broadcast to an audio file but I'm not 100% certain. I figured I'd need to put it in the generate file where the broadcasting begins as you can see here: https://pastebin.com/qDNYYcwe 

 

I looked at the playSound3D but I noticed it might be more for within a radius of 100m or whatever I set it to. How might I achieve a server wide play rather than a radius?

 

Thank you.

Share this post


Link to post
Share on other sites

did you test playSound? In MP, you need to broadcast it on each client, but remoteExec can do that:

For example:

{playSound "yoursound"} remoteExec ["call",0]

 

Share this post


Link to post
Share on other sites
On 9/7/2017 at 0:45 AM, pierremgi said:

did you test playSound? In MP, you need to broadcast it on each client, but remoteExec can do that:

For example:

{playSound "yoursound"} remoteExec ["call",0]

 

 

Sorry for the late reply. Yeah I tried this with remoteExec and couldn't get it to work, I began to get very frustrated with it so I just put it to one side for a while.

 

Share this post


Link to post
Share on other sites
5 hours ago, Tajin said:

The clean way to remoteExec it is this:


["yourSound"] remoteExec ["playSound", 0];


Make sure your sound is defined properly:

https://community.bistudio.com/wiki/Description.ext#CfgSounds

 

 

That beeing said, triggers can also play sounds.

 

Thanks for the link, I'll give this a try soon.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×