GetAngle

From the Oblivion ConstructionSet Wiki
Revision as of 16:23, 2 May 2006 by imported>Ashileedo (Reverted edit of Aaaas, changed back to last version by JDGBOLT)
Jump to navigation Jump to search

Syntax:

GetAngle axis 

Example:

GetAngle Z 


Returns the current world rotation angle of the object on the selected axis (X, Y, or Z) in float.

Special Note:

When called upon the player character, Z angle is the player's current heading,
X angle is the player's current vertical angle.