Level Design / Level Routine Editing / Routine Action Editing / Switch Actions
 
When the Switch Actions item is selected in the Level Routines Window's Actions to Perform column, the following set of controls appears in the panel on the right side of the Level Routines window. These controls are used to configure the switch related actions that are carried out when the selected routine is performed in the game. These actions include turning a switch on or off, and changing who can turn a switch on or off.


Turn a Switch On Or Off Checkbox

Determines whether a switch is turned on or off when the selected routine is performed

Switch To Turn On Or Off Pop-Up Menu

Determines which switch is turned on or off when the selected routine is performed

Turn Switch On Radio Button

Determines whether the switch is turned on when the selected routine is performed

Turn Switch Off Radio Button

Determines whether the switch is turned off when the selected routine is performed

Toggle Switch Radio Button

Determines whether the switch is toggled when the selected routine is performed. When a switch is toggled, its state is reversed, so if it was on it will turn off, and if it was off it will turn on.

Change Who Can Turn a Switch On Or Off Checkbox

Determines whether the player and/or enemy characters will be able to turn this switch on and off after the selected routine is performed

Switch To Change Pop-Up Menu

Determines which switch is affected when the selected routine is performed

Switch Can Be Turned On Or Off By Player Checkbox

Determines whether this switch will be able to be turned on and off by the player after the selected routine is performed

Switch Can Be Turned On Or Off By Enemy Characters Checkbox

Determines whether this switch will be able to be turned on and off by enemy characters after the selected routine is performed
 
More information on switches is available in the Elements of a Game section.