The "sys_anim_term" Function

Syntax

sys_anim_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 animation which has been performed on the input entity with sys_anim_perform. By nature, only looped animations need to be terminated.

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

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