The "vngen_vox_remove" Function

Syntax#

vngen_vox_remove(name, sound);
ArgumentTypeDescription
namestringThe ID of the vox sound to modify (or keyword all for all vox)
soundsound/arrayThe sound resource to remove

Description#

Removes a sound or array of sounds from a vox entity previously created with vngen_vox_play. Unlike vngen_vox_stop, removing sounds with this script will not clear the entity from memory, but only remove sounds from a selection to be chosen at random each time a new text element increments on-screen.

Example#

if vngen_event() {
vngen_vox_remove("John Doe", snd_vox_sad);
}