Skip to main content

The "sys_anim_perform" Function


sys_anim_perform(entity, index);
entityintegerThe data structure of the entity to be animated
indexintegerThe index of the row containing the target entity


Performs a scripted animation on the input entity which has been initialized with sys_anim_init.

As this script is run automatically by VNgen draw functions, it is almost never necessary to run sys_anim_perform manually.

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