Jump to content

Is there a way to change the distance a sound can be heard via code?


Recommended Posts

Say for example I want to have all sounds have a lower/bigger distance they can be heard when emitted by something which has a smaller/bigger scale would that be possible using just code or would I have to manually make every sound I want to work like this have multiple variations in fmod?

Edited by . . .
Link to comment
Share on other sites

I don't think so, as this is controlled in FMOD before the sound is compiled. You might be able to fake it by killing the sound on the client if they're far enough away from the source, although that will definitely be jank.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...