Skip to main content

The "vngen_get_vol" Function

Syntax#

vngen_get_vol(type);
ArgumentTypeDescription
typeinteger/macroSets the type of sound to get volume for

Description#

Returns the global volume multiplier for all VNgen sound, music, voice, and other audio. Note that this volume is an offset, not an override, and is relative to any volume set in audio actions themselves.

See Macros & Keywords for a full list of available audio types.

Example#

var vol_sfx = vngen_get_vol(audio_type_sound);