<RetVar> = A variable where the requested information is stored as an array.
<RefObj> = A variable containing a sector, ship or station.
This commands returns an array of ships that are currently in or docked to the as <RefObj> selected object. If the <RefObj> is a sector, it will return all ships that are currently in the sector but not docked to any ship or station. If the <RefObj> is a ship or a station, the command will return all ships that are docked to it.
Example:
$sector= get sector from universe index: x=1, y=3
$ship.arr=$sector -> get ship array from sector/ship/station
return null
This will save all ships that are currently in Argon Prime ( coordinates 1/3 ) and not docked to any ship or station in the array $ship.arr.
Related Commands:
<RetVar/IF><RefObj> get owned ships: class/type=<Value>
<RetVar> = get ship array: of race <Var/Race> class/type=<Value>
Command Location:
- »» Universe and Sector Commands
<RetVar> = <RefObj> get ship array from sector/ship/station