Call of Duty Script Documentation
SetFlaggedAnimKnobAllRestart(<notifyname>, <anim>, <tree>, <weight>, <time>, <rate>)
ModuleAnimation
Summary
Set the Knob values of an animation and all of its ancestors in a subtree. Also restarts the animations.
Call this function on
<entity>
Example
self setFlaggedAnimKnobAllRestart("animdone", %hideLowWallb_idle1, %body, 1, .1, 1.0);
Minimum Number of arguments: 3
1 : <notifyname> notify to send when complete
2 : <anim> animation in the tree to play
3 : <tree> tree in which we want to set the knobs
Number of optional arguments: 3
1 : <weight> weight of this animation in a blend, defaults to 1.0
2 : <time> time to transition to this state in seconds, defaults to 0.2f
3 : <rate> playback rate of the animation, defaults to 1.0
Return to Function List