Call of Duty Script Documentation
setanimrestart( <animation>, <weight>, <time>, <rate> )
ModuleAnimation
Summary
Set the weighting values of an animation and restart the animation.
Call this function on
<entity>
Example
self setanimrestart( %tigertank_hatch_open );
Minimum Number of arguments: 1
1 : <animation> animation to manipulate
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