Discuss this page on this page's Talk Page

objGetPos

See objGetPos at Xelerus

Syntax (objGetPos spaceObject) → vector
Arguments spaceObject: The space object that you want the position of.
Returns vector: The position of the space object.
Category spaceObject
Description Returns the vector position of the space object.

Helpful little function if you need to know where a space object is for later use.

Example

(objGetPos gPlayerShip)

Returns the vector position of where in the system the player ship is.

Return to Functions list