<RetVar/IF><RefObj> get current shield strength

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 current shield strength

Post by Striker304 » Sun, 12. Sep 10, 16:39

<RetVar/IF>=<RefObj> get current shield strength


[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 current shield strenght in the unit 'Joule' of <RefObj>.

Example:
$shields = [PLAYERSHIP] get current shield strength

This will return the current shield strength of the player ship.


Command Location:

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

[TiP][49] 286767

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

<RetVar/IF>=<RefObj> get current shield strength


[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.

Dies Befehl gibt die Schildstärke in der Einheit "Joule" von <RefObj> zurück.

Beispiel:
$shields = [PLAYERSHIP] get current shield strength

Dies gibt die derzeitige Schildstärke des Spielerschiffs zurück.


Zu finden unter:

Locked

Return to “MSCI Reference”