<RetVar/IF><RefObj> get number of landed ships

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

Moderators: Scripting / Modding Moderators, MSCI Moderators

Locked
Striker304
Posts: 890
Joined: Fri, 26. Mar 10, 22:15
x3tc

<RetVar/IF><RefObj> get number of landed ships

Post by Striker304 » Sun, 12. Sep 10, 17:03

<RetVar/IF>=<RefObj> get number of landed ships


[skip|else] if [not]|while [not] = Possible 'conditional' statements that can be used
<RetVar/IF> = Variable where the requested information is put
<RefObj> = The object you want to check

This command returns the number of ships docked at <RefObj>.

Example:
$docked.ships = Argon One -> get number of landed ships

Returns the number of ships docked at 'Argon One'.


Command Location:

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

[TiP][49] 286772

Post by X2-Illuminatus » Sat, 9. Oct 10, 20:53

<RetVar/IF>=<RefObj> get number of landed ships


[skip|else] if [not]|while [not] = Die möglichen bedingten Anweisungen, die mit diesem Befehl genutzt werden können.
<RetVar/IF> = Variable, in die der zurückgegebene Wert gespeichert wird.
<RefObj> = Das Objekt, das du überprüfen möchtest.

Dieser Befehl gibt die Anzahl der an <RefObj> angedockten Schiffe zurück.

Beispiel:
$docked.ships = Argon Eins -> get number of landed ships

Gibt die Anzahl der an der "Argon Eins" angedockten Schiffe zurück.


Command Location:

Locked

Return to “MSCI Reference”