Hey! I'm pretty new to lua but I'm trying to make it so that a person emits a sound. So far I have this in my code which is triggered by certain words typed in the chat box:
ply:EmitSound(USay.WordList[k],100,100,0.75)
It works quite well but I'm wondering if it's possible to have the volume falloff with distance? That is the further someone is away from a player who emits a sound, the sound is heard quieter.
Is this possible? Thanks!
Second argument is responsible for sound spreading.
You're right, I must have misread the wiki. Thanks!
Sorry, you need to Log In to post a reply to this thread.