-
Posts
916 -
Joined
-
Last visited
-
Days Won
15
Everything posted by NECROSSIN
-
-
Warning! Old Man:
- Show previous comments 8 more
-
After some mathcrafting I found the equation X=(Z/Y)-1. This makes it so that anything beyond Z becomes negative, thus not playing the sound as negative sounds don't exist. Say you made the sound play at 10 meters and he was 5 meters away. X=(Z/Y)-1. X=(10/5)-1. X=2-1. X=1. So the volume would be one.
But say he was 15 meters away. X=(10/15)-1. X=0.66-1. X=-0.33. Sound won't play as it's negative.
-
I had to make this: http://steamcommunity.com/id/necrossin/screenshot/540675364388213843