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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 06:29, 31 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=GetStartOrigin( <origin>, <angles>, <animation> ) |Module=Animation |Available=SP Only |Summary=Get the starting origin for an animation, in w...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


GetStartOrigin( <origin>, <angles>, <animation> )

Module: Animation
SP Only

Summary:

Get the starting origin for an animation, in world coordinates, given its current position, and angles


Call this on:

Example:

 org1 = GetStartOrigin( climborg, climbang, buddyanim1 );

Required arguments:

  1. <origin> The current origin of the animation in world coordinates
  2. <angle> The current angle set of the animation in world coordinates
  3. <animation> The currently running animation


Optional arguments:

none


Notes:

none