Commands /
Change Switch
Summary
Changes the state of a targeted local or global switch.
Parameters
Name | Explanation | Type |
---|---|---|
Type | The target local or global switch, including ranges. | Switch |
Value Type | The type of the value source, either a switch, value, random, global reference, or local reference. | Switch Source |
Value | The 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: If a Global Reference is set to Global Variable 0003, which currently has a value of 5, the Local or Global Switch at index 5 will be set to whatever value/operation has been specified.