GetHeadingAngleBetweenPoints

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns the angle between the Point A and the specified object in a range from -180 to 180 degrees.

Syntax

[help]
(-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.

See Also