Functions Documentation
View Function Edit Function
Name shpGetMaxSpeed
Syntax (shpGetMaxSpeed spaceObject)
Argument List spaceObject: a ship that you want the max speed from.
Returns number: the max speed of the ship.
Category ship, 0.99
Description This function returns the value of the maxSpeed of the shipclass, the value is a % of the lightspeed. (so lightspeed is 100)
(shpGetMaxSpeed gPlayership)

Returns 18 if the player is using the Freighter.
Comment Useful function to check the maximum speed of a ship.