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

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


GetAnimLength( <animation> )

Module: Animation

Summary:

Gets the length of an animation


Call this on:

Example:

 cycleTime = GetAnimLength( climbAnim );

Required arguments:

  1. <animation> a primitive animation: calling this function on a non-primitive animation will fail


Optional arguments:

none


Notes:

none