<RetVar> = variable where the requested information is stored, this will be an array
<RefObj> = The sector you want to get the factory array from
This function returns the stations of class 'Factory' from a sector. Only stations that are classed as factories will be returned, this includes shipyards.
Example:
$sector -> get sector from universe index: x=0, y=0
$factories.array = $sector -> get factory array from sector
This will return an array of all the factories located in Kingdom End (sector location 0, 0)
Alternate Uses:
Can also be used to return a factory array from a Complex Hub. <RefObj> being the complex hub, not the sector. If the sector is inserted the array will contain all stations of type 'Factory' from the sector.
n.b. <RetVar> = <RefObj> -> get station array from sector, does not work on complex hubs.
Related Commands:
<RetVar> = <RefObj> get station array from sector
<RetVar> = <RefObj> get dock array from sector
Command Location:
- »» Universe and Sector Commands
- <RetVar> = <RefObj> get factory array from sector