SetAnimKnobLimitedRestart( <animation>, <weight>, <time>, <rate> )


Module: Animation
SP Only

Summary:

See "SetAnim."



Call this on:

<entity>



Example:

self SetAnimKnobLimitedRestart( %precombatrun1, 1, 0.1, 1 );



Required Args:

  • 1 : <animation> The animation or animtree node to change.


Optional Args

  • 1 : <weight> Goal weight of this animation. Defaults to 1.0.
  • 2 : <time> Time to transition to this weight in seconds. Defaults to 0.2.
  • 3 : <rate> Playback rate of the animation. Defaults to 1.0.