Skip to main content

The "vngen_attach_shader_stop" Function

Syntax#

vngen_attach_shader_stop(id, name, fade, [ease]);
ArgumentTypeDescription
namestringThe ID of the attachment parent character
idreal/stringThe ID of the attachment to stop shader on (or keyword all for all attachments)
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_attach_shader_stop("John Doe", "attach", 0.5);
}