Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What do I use if I want any sound to sound weaker in a distance ?

Asked by 6 years ago

This is not a request, I can't find anywhere a thing that I'm looking for... As you might know, many games have good audio systems, what they do is that you hear a sound louder/quieter depending on your location.

But my question: "How ?"

I would appreciate if anyone would tell me what and how can I use something for the dynamic sound effect.

1 answer

Log in to vote
0
Answered by
xPolarium 1388 Moderation Voter
6 years ago

You use a Sound object and it's EmitterSize property to set the distance of when the volume goes quiet.

You should also have this sound object inside a Part or Attachment because that's how you'll get that local emitted sound.

Sound objects placed in SoundService become a global sound which will make all players hear it.

0
Great, thanks ! LordTechet 53 — 6y
0
Sorry, tested, seems like it does not work, the sound is inside a brick LordTechet 53 — 6y
0
Make sure the property "Playing" is ticked that way it plays when you enter test mode. You can also use :Play() to directly play the sound using the command bar or something. There's also Loop property that will keep the sound playing over and over. xPolarium 1388 — 6y
0
All that were mentioned above were done already LordTechet 53 — 6y
0
But what if the sound was in a brick that is in few models ? LordTechet 53 — 6y
Ad

Answer this question