GetHeadingAngleBetweenPoints
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Returns the angle between the Point A and the specified object in a range from -180 to 180 degrees.
Syntax
(-180 to 180:float) GetHeadingAngleBetweenPoints CallPosX:float CallPosY:float CallAngleZ:float TargetX:float TargetY:float
Example
GetHeadingAngleBetweenPoints CallerPosX CallerPosY CallerAngleZ TargetPosX TargetPosY
Notes
- This function is equivalent to GetHeadingAngle, only it takes coordinates instead of calling references.