<RetVar> = The variable where the requested information is put.
This command returns the player ship. Note that it works exactly the same as the constant [PLAYERSHIP].
Example:
$plship = get player ship
$tmp = $plship -> add 200 units of Energy Cells
This puts 200 Energy Cells into the cargo bay of the player ship.
Note:
Better than using this command is to use the constant [PLAYERSHIP], which is shorter and also is more efficient.
Command Location:
- »» General Object Commands
<RetVar> = get player ship