sound_vol
Volume for all following sound instructions.
Range:
0 .. 100 (default 100)
Type:
var
Remarks:
This variable does not change the sound mixer setting, but is merely a multiplication
factor for all following wav and ogg sound instructions. It does
not affect the volume of still playing sounds that were started before. For setting
the overall sound volume, use master_vol.
Example:
function sound_off()
{
sound_vol = 0;
}
on_m = sound_off;
See also:
midi_vol, cdaudio_vol,
master_vol