<RetVar> = <RefObj> get dock array from sector

This forum serves as MSCI Reference at EGOSOFT. It's Read-Only for non MSCI Group members.

Moderators: Scripting / Modding Moderators, MSCI Moderators

Locked
User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24965
Joined: Sun, 2. Apr 06, 16:38
x4

<RetVar> = <RefObj> get dock array from sector

Post by X2-Illuminatus » Fri, 29. Jul 11, 13:36

<RetVar> = <RefObj> get dock array from sector


<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:

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24965
Joined: Sun, 2. Apr 06, 16:38
x4

[TiP][49] 304971

Post by X2-Illuminatus » Sun, 2. Oct 11, 21:49

<RetVar> = <RefObj> get dock array from sector


<RetVar> = Eine Variable, in der die geforderte Information in Form eines Arrays gespeichert wird.
<RefObj> = Eine Variable, die einen Sektor enthält.


Dieser Befehl gibt alle Docks zurück, die sich im als <RefObj> ausgewählten Sektor befinden. Welche Stationen als Dock zählen, ist aus der Maintype und Subtype-Liste unter Maintype 5 ersichtlich.


Beispiel:

$sector=[PLAYERSHIP] -> get sector
$dock.arr=$sector -> get dock array from sector
return null

Dies speichert alle Docks im Spielersektor im Array $dock.arr.


Verwandte Befehle:

<RetVar> = <RefObj> get station array from sector
<RetVar> = <RefObj> get factory array from sector



Zu finden unter:

Locked

Return to “MSCI Reference”