Change Switch

The Change Switch command changes the Value? of a global or local Switch to an on/off state.


Targets

Global/Local - Targets a single selected Switch.
Global/Local Range - Targets multiple Switches in a row.
Global/Local Reference - Targets a single Switch based on a Variable Value?.

Value Type

Value - Sets the Value? to on/off.
Local - Sets the Value? from another local Switch.
Global - Sets the Value? from another global [Reference/Switch]].
Random - Sets the Value? randomly to on/off.

Note: The name and default behavior of a Switch's Value? is set in the select switch window.
NameExplanationType
TypeThe target local or global switch, including ranges.Switch
Value TypeThe type of the value source, either a switch, value, random, global reference, or local reference.Switch Source
ValueThe corresponding value to the Value Type.Toggle or Switch
Note: Global or local reference attempt to use a global or local variable to get an index to apply the operation to.
Example 1: Set the Switch type to global range, set the Value? to on. Then select Switch slot 000 to 003. Those two Switches and every Switch inbetween will be set to on.
Example 2: Set the Switch type to global reference, and set the value to on. Select a Variable, and set the Value? to 3. This turns the Switch in slot 003 to on.