The "vngen_vox_add" Function
#
SyntaxArgument | Type | Description |
---|---|---|
name | string | The ID of the vox sound to modify (or keyword all for all vox) |
sound | sound/array | The sound resource to add |
#
DescriptionAdds a new sound or array of sounds to a vox entity previously created with vngen_vox_play
. Unlike vngen_vox_replace
, adding sounds with this script will not clear existing resources from the entity, but assign multiple sounds to the same entity which will then be chosen at random each time a new text element increments on-screen.