GetStartingAngle

Revision as of 14:38, 7 February 2010 by imported>PoHa! (Copied info, used the template for functions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: GetStartingAngle.

A function included in the GECK version 1.1.0.36.

Description

Returns the original world rotation angle of the object on the selected axis (X, Y, or Z) in float. The angle is the angle the object was placed in the editor, not it's current game state.

Syntax

(float) [Object].GetStartingAngle axis{X, Y, Z}

Example

MyObject.GetStartingAngle z

Will return the original Z angle of MyObject.

Notes

None

See Also