Call of Duty 4: Scripting Reference - Animation::SetAnimKnobAllLimited
From COD Modding & Mapping Wiki
SetAnimKnobAllLimited( <animation>, <root>, <weight>, <time>, <rate> )
Module: Animation
SP Only
Summary:
See "SetAnim."
Call this on: <entity>
Example:
self SetAnimKnobAllLimited( %precombatrun1, %body, 1, 0.1, 1 );
Required arguments:
- <animation> The animation or animtree node to change.
- <root> An ancestor of the animation.
Optional arguments:
- <weight> Goal weight of this animation. Defaults to 1.0.
- <time> Time to transition to this weight in seconds. Defaults to 0.2.
- <rate> Playback rate of the animation. Defaults to 1.0.
Notes:
- none