Call of Duty 4: Scripting Reference - Animation::GetStartOrigin
From COD Modding & Mapping Wiki
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:
- <origin> The current origin of the animation in world coordinates
- <angle> The current angle set of the animation in world coordinates
- <animation> The currently running animation
Optional arguments:
- none
Notes:
- none