Discuss this page on this page's Talk Page

shpGetDirection

See shpGetDirection at Xelerus

Syntax (shpGetDirection ship) → number
Arguments ship: The ship that you want to get the direction of.
Returns number: The direction of the ship in degrees.
Category ship
Description Returns the direction of the ship.

Example

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

Moves the player ship 500 forward.

Return to Functions list