Editors Note: SysVectorPolarOffset starts with 0 to the right and rotates counterclockwise
Functions Documentation
View Function Edit Function
Name sysVectorPolarOffset
Syntax (sysVectorPolarOffset vector number number)
Argument List vector: The origin of the new vector. Same as the systems origin if Nil.
number: The angle of the vector from 0 to 360. 0 is to the right.
number: The length of the vector in light seconds.
Returns vector: A new vector based on the origin and polar coordinates given.
Category vector operator, system
Description Makes a vector from the given origin and polar coordinates.
Example
(sysVectorPolarOffset gplayership 0 10)


Returns a vector that points to a position 10 light seconds to the right of the player.
Comment Essential if you want to use vectors of a certain length or direction.