Jump to content
Sign in to follow this  
draugar

Looking for a solution to limit sound

Recommended Posts

I would like to limit sound inside a particular room of a building.  Or a particular area.  I know there are settings to limit how far your voice carries, but I want to only be able to hear only the players that are within a certain distance of me.  I'm looking for someone to point me in the right direct, not necessarily script it for me.

 

Thank you

Share this post


Link to post
Share on other sites

Placing a trigger with repeatable enabled and set to anybody would work for both singleplayer and multiplayer. It only fades the sound for the units that are within the trigger. This lowers the sound of every unit inside the trigger and increases its volume to default when you leave the trigger.

//On Activation
2 fadeSound 0.2;

//On Deactivation
2 fadeSound 1;

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
Sign in to follow this  

×