How would you make a sound louder if it was closer to the object, but smaller if it's further away?
Offline
Distance to, I suppose.
Offline
scimonster wrote:
Distance to, I suppose.
That's the opposite of what i want to happen.
Offline
set volume to ((100)-(distance to []))
Offline
Offline
scimonster wrote:
Code:
set volume to ((100)-(distance to []))
yep thats the correct way
Offline
4lover wrote:
scimonster wrote:
Code:
set volume to ((100)-(distance to []))yep thats the correct way
there's a volume block? or is that supposed to be a variable?
Offline
Offline
yeagh thats a block
Offline
woofwoof301 wrote:
4lover wrote:
scimonster wrote:
Code:
set volume to ((100)-(distance to []))yep thats the correct way
there's a volume block? or is that supposed to be a variable?
Offline
scimonster wrote:
OOOHHH!!! THAT volume!! Lol, woof fails again. I thought the topic was talking about size, not soun. Fail.
Never mind me.
Offline
Instead of subtraction, I suggest you use division, like 100/distance, to make it smoother and more gradual. Plus it then avoids negative volumes. Just make sure to add a qualifier when distance is 0.
Offline