Changing sound volume in run-time - how ?

(Alex Zubov) #1

I have an actor moving from point A to point B with player being somewhere between those points.

I need to set volume of the sound (on that moving actor) low at points A and B, but at the point where player is the volume needs to be cranked up to the max.

How do I do that in Blueprints ?


(Cameron Baron) #2

You could use the SetVolume node on a FMODAudioComponent and modify it depending on the distance to the player.