Call of Duty 4: Scripting Reference - Animation::ClearAnim
From COD Modding & Mapping Wiki
ClearAnim( <animation>, <time> )
Module: Animation
SP Only
Summary:
Sets an animation's goal weight (and the goal weights of all of its descendents) to zero over the specified time.
Call this on: <entity> The entity to clear the animation on.
Example:
self ClearAnim( %root, 0);
Required arguments:
- <animation> The animation or animtree node to clear
- <time> The blending time for the clear
Optional arguments:
- none
Notes:
- none