write to player logbook <Value>

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: 1385
Joined: Wed, 3. Aug 05, 05:05

write to player logbook <Value>

Post by mark_a_condren » Fri, 17. Sep 10, 15:42

write to player logbook <Value>


<Value> = What you want written to the logbook.


Writes any <Value> as a message in the player's logbook.
References to objects will return the name of that object.
For example, writing [PlayerShip] will write the name of the current ship the player is flying.


Example:

if arrays $array.1 and $array.2 are equal
| write to player logbook "Both arrays are equal"
else
| write to player logbook "The arrays are not equal"
end


Command Location:

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

[TiP][49] 287085

Post by X2-Illuminatus » Thu, 14. Oct 10, 18:04

write to player logbook <Value>


<Value> = Was du gerne ins Logbuch geschrieben hättest.


Der Befehl schreibt jeden Wert <Value> als Nachricht ins Logbuch des Spielers.
Referenzen auf Objekte geben den Namen des Objekts zurück.
Schreibt man zum Beispiel [PlayerShip], wird der Name des aktuellen Spielerschiffs ins Logbuch geschrieben.


Beispiel:

if arrays $array.1 and $array.2 are equal
| write to player logbook "Beide Arrays sind gleich"
else
| write to player logbook "Die Arrays sind ungleich."
end


Zu finden unter:

Locked

Return to “MSCI Reference”