<RetVar> = <RefObj> get number of products per cycle

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 number of products per cycle

Post by X2-Illuminatus » Fri, 1. Apr 11, 19:47

<RetVar> = <RefObj> get number of products per cycle


<RetVar> = A variable where the requested information is put.
<RefObj> = The factory you want to know the amount of products it produces per cycle.


Returns the amount of products that are produced by the as <RefObj> selected factory per cycle.


Example:

$station = get player tracking aim
$ware = $station -> get product ware
$number = $station -> get number of products per cycle
write to player logbook: printf: fmt='%s produces %s units of %s per cycle.', $station, $number, $ware, null, null
return null

This gets the current player target station and writes the amount of wares it's producing per cycle to the player logbook.


Related Commands:

<RetVar> = <RefObj> get number of resources per cycle of ware <Var/Ware>


Command Location:
Last edited by X2-Illuminatus on Sat, 30. Jun 12, 12:34, edited 1 time in total.

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

[TiP][49] 299192

Post by X2-Illuminatus » Mon, 2. May 11, 19:47

<RetVar> = <RefObj> get number of products per cycle


<RetVar> = Eine Variable, in der die geforderte Information gespeichert wird.
<RefObj> = Die Fabrik, deren Anzahl an Produkten, die pro Zyklus produziert werden, du wissen möchtest.


Gibt die Anzahl an Produkten zurück, die von der als <RefObj> ausgewählten Farbrik pro Zyklus produziert werden.


Beispiel:

$station = get player tracking aim
$ware = $station -> get product ware
$number = $station -> get number of products per cycle
write to player logbook: printf: fmt='%s produziert %s Einheiten von %s pro Zyklus.', $station, $number, $ware, null, null
return null

Dies erfasst die aktuelle Zielstation des Spielers und schreibt die Anzahl an Produkten, die sie pro Zyklus produziert ins Spielerlogbuch.


Verwandte Befehle:

<RetVar> = <RefObj> get number of resources per cycle of ware <Var/Ware>


Zu finden unter:

Return to “MSCI Reference”