From blueprint change parameter in class

Good afternoon everyone.
I may have a rather strange question:
There is a certain blueprint that reacts to a box collision (I enter/exit a room) so that there are no external sounds in the house, but when I go out, the sounds turn on.
Is it possible to somehow set the soundclass to volume = 1 or = 0 from this blueprint.
Is it possible and how can I get there?
I hope I formulated the question correctly so that it is clear? ))
thanks in advance


Hi,

I know that the free Low Entry Extended Standard Library has something for it, if needed.

But the proper to do this as far as I know is to create a SoundMix.

Have a look at this page and read the part about Sound Class and Sound Mix: Audio System Overview | Unreal Engine 4.27 Documentation

Basically you create a SoundMix here:

Then you tweek it the way you want it to behave:

Then you play around with those nodes (read the tooltip and the page I’ve linked):
image

Hope that helps :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.