The "vngen_char_destroy" Function
#
SyntaxArgument | Type | Description |
---|---|---|
name | string | The ID of the character to destroy (or keyword all for all characters) |
transition | script | Sets the transition animation to perform |
duration | real | Sets the length of the transition animation, in seconds |
[ease] | integer/macro | Optional: Sets the ease override for the transition script |
#
DescriptionDestroys the input entity ID, freeing its resources from memory. Can also perform an exit transition animation before destroying. Once a given ID has been destroyed, it can be created again with the same ID.
See Included Animations and Macros & Keywords for a list of available transition animations and ease modes.