Skip to main content

The "vngen_char_shader_stop" Function

Syntax#

vngen_char_shader_stop(name, fade, [ease]);
ArgumentTypeDescription
namestringThe ID of the character to stop shader on (or keyword all for all characters)
faderealSets the length of time to fade shader out, in seconds
easeinteger/macroOptional: Sets the ease mode for fade transition

Description#

Stops the active shader being performed on the specified entity, if any.

Example#

vngen_event() {
vngen_char_shader_stop("John Doe", 0.5);
}