<RetVar> = <RefObj> get player owned station 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

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

<RetVar> = <RefObj> get player owned station array from sector

Post by X2-Illuminatus » Fri, 29. Jul 11, 12:49

<RetVar> = <RefObj> get player owned station array from sector


<RetVar> = A variable where the requested information is stored as an array.
<RefObj> = A variable containing a sector.


This will return an array of player owned stations that are in the as <RefObj> selected sector.


Example:

$sector= get sector from universe index: x=1, y=3
$station.arr=$sector -> get player owned station array from sector
return null

This will save all player owned stations that are currently in Argon Prime ( coordinates 1/3 ) $station.arr.


Related Commands:

<RetVar> = <RefObj> get player owned ship array from sector


Command Location:

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

[TiP][49] 304966

Post by X2-Illuminatus » Sat, 1. Oct 11, 20:25

<RetVar> = <RefObj> get player owned station array from sector


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


Dies gibt ein Array mit spielereigenen Stationen im als <RefObj> ausgewählten Sektor zurück.


Beispiel:

$sector= get sector from universe index: x=1, y=3
$station.arr=$sector -> get player owned station array from sector
return null

Dies speichert alle spielereigenen Stationen in Argon Prime ( Sektorkoordinaten 1/3 ) im Array $station.arr.


Verwandte Befehle:

<RetVar> = <RefObj> get player owned ship array from sector


Zu finden unter:

Return to “MSCI Reference”