<- PRPL reference <- Ships

SetShipThrustMultiplier

ArgumentsResultNotation
Ship UID, Thrust Multiplier [ int float - ]

Description

Thrust multiplier is a float number saying how much faster the ship is going. 1 is normal speed, 2 is 2 times faster, 0.5 is half the speed, etc.

When set to 0, the ship will stop moving (it can still rotate normally). However, when set to a negative number, the ship will move in opposite direction than desired, even going off map, so be careful when you set this as a result of some calculation.

This does not affect rotation speed whatsoever, only movement speed.

See Also

GetShipThrustMultiplier

Examples

<-shipId 2 SetShipThrustMultiplier # make ship go 2x faster
<-shipId 0.5 SetShipThrustMultiplier # make ship go 2x slower
<-shipId -1 SetShipThrustMultiplier # if you want that 1 star rating on your map
<-shipId 0 SetShipThrustMultiplier # if you want to create a station 
<-shipId -99999 SetShipThrustMultiplier#if you want to create a station which will fly off the map after moving one inch. 
                                       #Also helps for that one star rating.