Functions Documentation
View Function Edit Function
Name shpGetDirection
Syntax (shpGetDirection ship)
Argument List 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.
Comment Useful for objJumpTo and objIncVel.