User Tools

Site Tools


modding:function:objjumpto

Discuss this page on this pages TalkPage

objJumpTo

See objJumpTo at Xelerus

Syntax (objJumpTo spaceObject vector)
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 with a gating animation.

Example

(objJumpTo gplayership (sysVectorPolarOffset gplayership (shpGetDirection gplayership) 500))

Moves the player ship 500 forward with an gating animation. Return to Functions list

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