[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = If the command is to 'return' information it will store the information here.
<RefObj> = The ship you wish to get the destination of.
Returns the destination of a ship as set by the set destination instruction.
It has no function other than to change the text displayed on the ship's information screen or in a menu.
Example:
$ship.destination = $ship -> get destination
$ship.destination will be the ship's destination if one has been set by a 'set destination' command. The information in $ship.destination will be stored as a string.
Related Commands:
<RefObj> -> set destination to <Value>
Command Location:
- »» Fly Commands
<RetVar/IF><RefObj> get destination