Discuss this page on this pages TalkPage

sysVectorAngle

See sysVectorAngle at Xelerus

Syntax (sysVectorAngle vector)
Arguments vector: The vector you want to find the angle of with respect to the origin of the system.
Returns number: The angle in degrees with respect to the origin of the system.
Category 0.99, vector operator
Description Finds and returns the angle of the given vector.

Example

(sysVectorAngle (objGetPos gplayership))

Returns the angle of the player ship with respect to the origin of the system. Return to Functions list