Call of Duty 4: Scripting Reference - Animation::SetAnimTime

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


SetAnimTime()

Module: Animation
SP Only

Summary:

set the time of an animation


Call this on: <entity>

Example:

self SetAnimTime( %stand_aim, 0.3 );

Required arguments:

  1. <anim> animation in the tree
  2. <time> normalized time between 0 and 1


Optional arguments:

none


Notes:

none