Need advise: Event to become louder with every triggered object in scene

Hello.

I’m quite new to fmod, maybe someone could help me out. Guess I might just be struggling with the vocabulary so any hint is welcome as I’m sure this has been done before. But I don’t now what to google yet.

So in my scene I have one object playing a looped 3d timeline event via the fmod event emitter. Also in the scene I have several objects that can be triggered.
Once one of these objects has been triggered I want the loop to become louder. This is supposed to work regardless of the order in which these objects are being triggered.

That’s it. I’d like to learn how to do that in Unity :slight_smile:

Thanks in advance

You can use parameters to control the volume of the event and at each trigger increase the value of this parameter. You can try the FMOD Studio Parameter Trigger component or use game code to increment the value of the parameter. For more information, please see our documentation:

https://www.fmod.com/resources/documentation-unity?version=2.02&page=game-components.html#studio-parameter-trigger

https://www.fmod.com/resources/documentation-api?version=2.02&page=studio-guide.html#setting-parameters

1 Like

Trank you