Page 1 of 1

Scale sounds playing on actor

Posted: Fri Mar 27, 2020 7:50 pm
by SanyaWaffles
Like how you can change the volume of music relative to the player's music volume, it'd be nice if you could dip certain playing sounds by a certain factor. For example, I got dialogue that plays, and it'd be nice to scale back other sounds as it plays.

I don't think there's a current way to do so except using A_StartSound's volume parameter, but that's only able when you start playing sounds. There's no way of doing it for sounds all ready playing as far as I can tell.

Re: Scale sounds playing on actor

Posted: Fri Mar 27, 2020 8:11 pm
by Nash
You can change the volume of currently-playing sounds with A_SoundVolume.

Re: Scale sounds playing on actor

Posted: Fri Mar 27, 2020 9:32 pm
by SanyaWaffles
Wow. How did I miss that? I looked everywhere for a function like that.

Thanks. :D