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

How would you script a muffled sound effect when underwater?

Asked by 6 years ago

What I mean is that when the camera is directed underwater (I'm using smooth terrain) or inside of a block, all sounds have a muffled effect using the sound effect objects. This is similar to the sounds in the tunnels in Jailbreak and the water ROBLOXian Waterpark.

I am fairly new to scripting and I do not understand how you would achieve this. Would you insert the effect in every sound, disable it, then enable it when the camera is inside of it?

1 answer

Log in to vote
0
Answered by 6 years ago

You can set SoundService's ReverbType's property to 'Underwater'

or

Use the FlangeSoundEffect and or the CompressorSoundEffect

0
That's true, but how would you script it so that the effect comes in when your camera is at a certain position? SheriffTaco 13 — 6y
Ad

Answer this question