<RetVar> = get max price of ware <Var/Ware>

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

Moderators: Scripting / Modding Moderators, MSCI Moderators

Locked
mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

<RetVar> = get max price of ware <Var/Ware>

Post by mark_a_condren » Tue, 23. Nov 10, 17:25

<RetVar> = get max price of ware <Var/Ware>


<RetVar> = The command return will be stored in this variable.
<Var/Ware> = The ware that you want the maximum price of.


This command returns the 'Maximum' price for the selected ware.
As all wares have a 'Minimum' and a 'Maximum' price that is preset, the maximum is returned by this command.


Example:

$max.ecell.price = get max price of ware Energy Cells

As Energy Cells have a 'Min' price of 12cr and a 'Max' price of 20cr, $max.ecell.price will be 20cr


Command Location:

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

[TiP][49] 291954

Post by X2-Illuminatus » Thu, 2. Dec 10, 15:50

<RetVar> = get max price of ware <Var/Ware>


<RetVar> = Der Rückgabewert des Befehls wird in dieser Variable gespeichert.
<Var/Ware> = Die Ware, deren maximalen Preis du ermitteln möchtest.


Dieser Befehl gibt den maximalen Preis der gewählten Ware zurück.
Jede Ware hat einen vordefinierten minimalen und einen maximalen Preis.


Beispiel:

$max.ecell.price = get max price of ware Energiezellen

Da Energiezellen einen 'Min' Preis von 12 Cr und einen 'Max' Preis von 20 Cr haben, wird $max.ecell.price 20 Cr sein.


Zu finden unter:

Locked

Return to “MSCI Reference”