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

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


GetAnimTime( <animation> )

Module: Animation
SP Only

Summary:

Get the animation time for the given animation.


Call this on: <entity>

Example:

if ( (self GetAnimTime( %walk_and_run_loops ) ) < 0.5 )

Required arguments:

  1. <animation> animation to manipulate


Optional arguments:

none


Notes:

none