<RetVar/IF><RefObj> get incoming marines

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

Moderators: Scripting / Modding Moderators, MSCI Moderators

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

<RetVar/IF><RefObj> get incoming marines

Post by X2-Illuminatus » Sat, 26. Feb 11, 16:34

[skip|else] if [not]|while [not]| <RetVar/IF><RefObj> get incoming marines


[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = The variable, where the requested information is stored, as an array.
<RefObj> = The object you want to get the incoming marines of. 'Valid' objects are ships.


This command returns the marines in an array, who are currently flying to board or breaking through the hull of the <RefObj>.
If there are no incomming marines or if the marines are already in the ship, the command will return null.


Example:

$target = get player tracking aim
$marines.arr = $target -> get incoming marines
write to player logbook $marines.arr
return null

This gets the marines, who are currently flying to board the player's target and writes them as an array to the logbook in the format: Array ( Na t'Hnt, Daron Fisty )


Related Commands:

<RefObj> stop incoming marines


Command Location:

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

[TiP][49] 297470

Post by X2-Illuminatus » Mon, 28. Feb 11, 21:07

[skip|else] if [not]|while [not]| <RetVar/IF><RefObj> get incoming marines


[skip|else] if [not]|while [not]| = Die möglichen bedingten Anweisungen, die mit diesem Befehl genutzt werden können.
<RetVar/IF> = Die Variable, in der die geforderte Information in Form eines Arrays gespeichert wird.
<RefObj> = Das Objekt, das von Marineinfanteristen angegriffen wird. 'Zulässige' Objekte sind Schiffe.


Dieser Befehl gibt die Marineinfanteristen, die sich gerade im Anflug auf das <RefObj> befinden oder durch seine Hülle brechen, in Form eines Arrays zurück. Befinden sich keine Marineinfanteristen im Anflug oder sind sie bereits durch die Hülle gebrochen, wird der Befehl null zurückgeben.


Beispiel:

$target = get player tracking aim
$marines.arr = $target -> get incoming marines
write to player logbook $marines.arr
return null

Dies erfasst die Marineinfanteristen, die sich im Anflug auf das Ziel des Spielers befinden und schreibt sie in einem Array in das Logbuch im Format: Array ( Na t'Hnt, Daron Fisty )


Verwandte Befehle:

<RefObj> stop incoming marines


Zu finden unter:

Locked

Return to “MSCI Reference”