The "sys_deform_term" Function

Syntax

sys_deform_term(entity, index);
ArgumentTypeDescription
entityintegerThe data structure of the entity to end animation
indexintegerThe index of the row containing the target entity

Description

Terminates a scripted deformation which has been performed on the input entity with sys_deform_perform. By nature, only looped deformations need to be terminated.

As this script is run automatically by any deformation scripts tailored to specific entity types, it is almost never necessary to run sys_deform_term manually.

See Animations for a list of included deformation scripts and how to make your own.