modding:function:objgetpos
Discuss this page on this page's Talk Page
objGetPos
| 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
modding/function/objgetpos.txt · Last modified: by 127.0.0.1
