Skip to main content

The "vngen_vox_stop" Function

Syntax#

vngen_vox_stop(name, [fade], [ease]);
ArgumentTypeDescription
namestringThe unique identifier of the vox sound to stop (or keyword all for all vox)
[fade]realOptional: The length of time to fade sound out, in seconds
[ease]integer/macroOptional: Sets the ease mode to perform the fade in

Description#

Stops the input vox sound with an optional fade out and removes the audio from memory.

See Macros & Keywords for a list of available ease modes.

Example#

if vngen_event() {
vngen_vox_stop("John Doe");
vngen_vox_stop("John Doe", 2, ease_sin_in);
}