Dynamic sound system does not work

Hello I have a problem with my sound system, I need to always play a sound but change its volume at certain times so I made a system but it doesn’t work :weary:
if anyone has an idea I am here :smile:

First, we don’t see where you call custom event Windsound, second - even if you call it once in a level, it would spawn a wind sound every 7 seconds. Not what you really want. This code is wrong on multiple levels.

1 Like

Hello @Dejan33 thank you for your answer, I call the custom event on the event beginplay and I play it every 7 second because the sound has a duration of 7 seconds.

You spawn the sound at begin level once and promote it to a variable. Set the sound on loop (in the .wav file or sound cue or metasound). Execute play sound. Right after that, create set timer by event. Event changes the volume at whatever time you specified.
That custom event does not need to set another timer. Just change the volume of the spawned sound.

1 Like

oh man, thank you so much it work great, you helped me a lot ! :grin:

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