Setting the Mapper Mode
You can set the current Mapper Mode from within the script. To do this,
set the CURRENTMODE variable to the desired mode:
CURRENTMODE = MODE2;
This allows the script to control
mapper mode when the controller itself does not have Mode capability,
or when it is desired to use a button other than the predefined mode
button with a device that does have Mode capability. Note that
the indicator lights on devices with Mode capability
will not reflect the current mode when it is set via CMS. The
indicators only work when the Mode buttons on the devices are used.
Valid modes are MODE1, MODE2, MODE3, and MODE4. You can also use the numeric
values 0, 1, 2, or 3. This can make programming a mode-cycling switch a
bit easier. See the Sample Scripts section for
examples of how to accomplish this.
When you create a map that uses CMS to control the Mode, you need to go to
the "Program Settings" tab in the Control Manager GUI and set the "Mode
Control" to "CMS". This will enable the Mode 2, 3, and 4 tabs
in the Dialog Pane, but will not enable the FighterStick or ProThrottle
as the Mode setting device.
For an explanation of what each mode represents, see the section on
Mapper Modes.