setBGMVolume
Set the audio volume of BGM.
Address
/audioMixer/setBGMVolume [volume]
Arguments
Type | Description | |
---|---|---|
argument 1 | Float | The dB value, ranging from -40 to 10 |
Example
Set the audio volume of BGM to -10dB.
/audioMixer/setBGMVolume -10
Note: Floating point numbers will be rounded down.
/audioMixer/setBGMVolume 1.9 = /audioMixer/setBGMVolume 1