Call of Duty 4: Scripting Reference - Animation::GetStartAngles
From COD Modding & Mapping Wiki
GetStartAngles( <origin>, <angles>, <animation> )
Module: Animation
SP Only
Summary:
Get the starting angles for an animation, in world coordinates, given its current position, and angles
Call this on:
Example:
org1 = GetStartAngles( 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