Change global volume 2.1.4

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By keke

I know 3 is out but I’m almost done with a huge project and it wouldn’t be worthwhile to port it now.

How do I change the global volume? I want to put a setting in the options menu for it.

:bust_in_silhouette: Reply From: jobax

AudioServer.set_stream_global_volume_scale(0) is something I found when I was trying to do this in 3.0.

Thanks! That works, but only if you add underscores - Edit your question to have the proper function name and I’ll accept it! Also, for posterity: there is another AudioServer function, set_fx_global_volume_scale() that lets you set the sound effects volume.

keke | 2018-04-04 01:42

No worries, hope it’s right now.

jobax | 2018-04-04 02:49