GetAngleEx
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Outputs the XYZ rotation angles (in degrees) of the calling object reference into the 3 specified script variables.
- By default, the function outputs the object's extrinsic (global) rotation, unless the 4th, optional argument, getLocal, is non-zero, on which case it outputs the object's intrinsic (local) rotation.
Syntax
reference.GetAngleEx resAngleX:ScriptVar resAngleY:ScriptVar resAngleZ:ScriptVar getLocal:0/1
Example
objectRef.GetAngleEx fAngleX fAngleY fAngleZ
objectRef.GetAngleEx fAngleX fAngleY fAngleZ 1