modding:function:sysvectorangle

Discuss this page on this pages TalkPage

#### sysVectorAngle

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

modding/function/sysvectorangle.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1