Adv_Keys Command

The Adv_Keys command controls the list of keys used by the adventure. Keys on the list are available to the adventure, but are not available to Flight Simulator. Keys that are not on the list are not available to the adventure.

You must use the Adv_Keys command to register any keys that will be used in OnKey commands.

Syntax

Adv_Keys Add, key, ...

Specifies one or more key values to add to the list. If any of the keys specified are already on the list, they are ignored.

Adv_Keys Delete, key, ...

Specifies one or more key values to delete from the list. If any keys specified are not on the list, they are ignored.

Adv_Keys Clear

Deletes all the keys from the list.

Examples

ADV_KEYS ADD, KV(CTRL “r”)

ADV_KEYS DELETE, KV(CTRL “r”)

ADV_KEYS CLEAR

key is an expression in the following example. The optional part of the command syntax is enclosed in brackets.

KV([CTRL] [SHIFT] "<key (single character>")

Any of the following values may be used instead of the single character string used in the preceding example: KEYPAD0, KEYPAD1, KEYPAD2, KEYPAD3, KEYPAD4, KEYPAD5, KEYPAD6, KEYPAD7, KEYPAD8, KEYPAD9, KEYPADPERIOD, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, and F12.