<RetVar> = A variable where the requested information is stored as an array.
<RefObj> = A variable containing a sector.
This command returns all docks that are in the as <RefObj> selected sector. The stations that are considered as docks are listed in the Maintype and Subtype Lists under Maintype 5.
Example:
$sector=[PLAYERSHIP] -> get sector
$dock.arr=$sector -> get dock array from sector
return null
This saves all docks in the current player sector in the array $dock.arr.
Related Commands:
<RetVar> = <RefObj> get station array from sector
<RetVar> = <RefObj> get factory array from sector
Command Location:
- »» Universe and Sector Commands
<RetVar> = <RefObj> get dock array from sector