User Tools

Site Tools


modding:function:objmoveto

Discuss this page on this page's Talk Page

objMoveTo

See objMoveTo at Xelerus

Syntax (objMoveTo spaceObject vector) → condition
Arguments spaceObject: The space object you want to move.
vector: Where you want to move the space object to.
Returns condition: True if successful.
Category spaceObject
Description Moves the space object to the vector position.

Basically the same as objJumpTo except it doesn't have an extra gating animation.

Example

(objMoveTo gplayership (sysVectorPolarOffset gplayership (shpGetDirection gplayership) 500))

Moves the player ship 500 forward.

Return to Functions list

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