<RetVar> = <RefObj> get tradeable ware array from station

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: 21617
Joined: Sun, 2. Apr 06, 16:38
x4

<RetVar> = <RefObj> get tradeable ware array from station

Post by X2-Illuminatus » Fri, 1. Apr 11, 16:40

<RetVar> = <RefObj> get tradeable ware array from station


<RetVar> = A variable where the requested information is stored.
<RefObj> = The station, you want to know its tradeable wares of.


This commands returns all tradeable wares of the as <RefObj> selected station in an array. Tradeable wares are wares that are either bought or sold by a station.


Example:

$station = get player tracking aim
$ware.arr = $station -> get tradeable ware array from station
write to player logbook $ware.arr
return null

This gets the current player target and writes its tradeable wares to the player logbook.


Related Commands:

<RetVar/IF><RefObj> trades with ware <Var/Ware>


Command Location:

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

[TiP][49] 299175

Post by X2-Illuminatus » Mon, 2. May 11, 18:59

<RetVar> = <RefObj> get tradeable ware array from station


<RetVar> = Eine Variable, in der die geforderte Information gespeichert wird.
<RefObj> = Die Station, deren handelbare Waren du wissen möchtest.


Dieser Befehl gibt alle handelbaren Waren von der als <RefObj> ausgewählten Station zurück. Handelbare Waren sind Waren, die entweder von der Station gekauft oder verkauft werden.


Beispiel:

$station = get player tracking aim
$ware.arr = $station -> get tradeable ware array from station
write to player logbook $ware.arr
return null

Dies erfasst das aktuelle Spielerziel und schreibt dessen handelbare Waren als Array in das Spielerlogbuch.


Verwandte Befehle:

<RetVar/IF><RefObj> trades with ware <Var/Ware>


Zu finden unter:

Locked

Return to “MSCI Reference”