<RetVar/IF> is signal/interrupt handling on

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

<RetVar/IF> is signal/interrupt handling on

Post by mark_a_condren » Wed, 8. Sep 10, 19:53

[skip|else] if [not]|while [not]| <RetVar/IF> = is signal/interrupt handling on


[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = Command return, with an 'if' statement used it will be TRUE (1) if condition passes or FALSE (0) if it fails, otherwise if you use a Variable it will be TRUE / FALSE as an integer.


Returns true if signal/interrupts are enabled for the 'Ship or Station', false if not.


Example:

skip if is signal/interrupt handling on
| enable signal/interrupt handling: TRUE

This will skip over the command to enable signal/interrupt handling if it is already on.


Command Location:
Last edited by mark_a_condren on Wed, 8. Sep 10, 21:04, edited 2 times in total.

Alex Vanderbilt
Winner X3 Sektorquest
Posts: 2127
Joined: Thu, 4. May 06, 12:07
x3tc

[TiP][49] 286486

Post by Alex Vanderbilt » Wed, 22. Sep 10, 08:04

[skip|else] if [not]|while [not]| <RetVar/IF> = is signal/interrupt handling on


[skip|else] if [not]|while [not]| = Eine mögliche Bedingung, die mit diesem Kommando verwendet werden kann.
<RetVar/IF> = Kommandorückmeldung. Wird dabei eine Wenn-Aussage (if) verwendet, die TRUE (1) (Wahr) ist, wenn diese stimmt, oder FALSE (0) (Falsch), wenn sie fehlschlägt. Wird eine Variable für die Wenn-Aussage (if) verwendet, so wird TRUE / FALSE als Integer zurückgegeben.

True (Wahr) wird zurückgegeben, wenn signal/interrupts (Signal/Unterbrechung) für ein Schiff oder eine Station aktiviert sind, oder false (Falsch), wenn nicht.

Beispiel:

skip if is signal/interrupt handling on
| enable signal/interrupt handling: TRUE

Hier wird das Kommando signal/interrupts zu aktivieren übersprungen, für den Fall, dass diese bereits aktiviert sind.


Zu finden unter:

Locked

Return to “MSCI Reference”