User manual
¿ Sixth, the language has a unique and very limited form of return values. Specifically,
most functions when they run have a return value of true. Certain functions, however,
return false under certain circumstances (usually when they time out). The only way
that return values can be used is by the use of the if and while type functions. These
functions simply check the return value - either true or false - of the last executed
function to determine whether to execute. This is ONLY use of return values.
¿ 'Seventh' - mission with scripts enabled start out in PAUSED mode.
¿ 'Eighth' - mission with scripts enabled have the AP mode set to STEERPOINT in order
to enable the script writer to guide the player´s aircraft. The autopilot still has to be
enabled manually by the script writer.
FUNCTION REFERENCE
The following is a list of all of the functions accepted by the system and the types of arguments
that are accepted. The types of arguments below are as follows:
KEY:
<time> = a floating point number. 1.0 is 1 second. 0.001 is 1 millisecond.
<integer> = a whole number like 1 or 2
<float> = a floating point number
<string> = a string of characters surrounded with quote marks. For example "Hello, World"
<hex> = a hexadecimal number like 0xffffffff
<callback> = a number that represents a cockpit callback (either a button or a dial/light callback
depending on the function)
<command> = the name of command as found in the keystrokes file. An example is
SimTogglePaused
<callback/command> = either a command or a callback as described above. Functions that
using this automatically determine which
<section> = the name of a section in the script.
FUNCTION NAME AND FORMAT FUNCTION DESCRIPTION
"Print <time> <string>"
Prints a string to the screen using the current
cursor settings for the duration of <time>.
Execution moves immediately onto the next
command while leaving the message printed
152










