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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 06:22, 31 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=SetAnimTime() |Module=Animation |Available=SP Only |Summary=set the time of an animation |Call_on=<entity> |Example=<pre>self SetAnimTime( %stand_aim, 0.3...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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