It depends on which editor you use.
For regular editor, you can change it whenever you are dealing with the action to turn them on or off.
On SCMDraft2, there is a switches button below the move down button. (Classic Trigger Editor)
Switches all start cleared, AKA off.
If you turn a Switch on (Set it) then it doesn't do anything unless there is a condition that requires it to be turned on. Once turned on, the Switch remains on until specifically cleared.
I.E.
Trigger |
Description: |
Trigger 1 |
|
Players: |
¤ Player 1 |
Conditions: |
¤ Player 1 brings at least 1 men to 'Location 1' |
Actions: |
¤ Set 'Switch 5'
|
¤ Preserve Trigger |
Trigger |
Description: |
Trigger 2 |
|
Players: |
¤ Player 1 |
Conditions: |
¤ 'Switch 5' is set |
Actions: |
¤ Modify resources for Player 1: Add 1 ore
|
¤ Preserve Trigger |
With these triggers, If Player 1 brought a [men] to 'Location 1', then 'Switch 5' would be turned on.
That would set the second trigger off and Player 1 would receive 1 mineral. Since it remains on, however, Player would continuously be receiving a mineral. Even if Player 1 took all men off Location 1, the switch would still be set and he would get minerals.
If you had this trigger:
Trigger |
Description: |
Trigger 3 |
|
Players: |
¤ Player 1 |
Conditions: |
¤ Player 1 brings exactly 0 men to 'Location 1' |
Actions: |
¤ Clear 'Switch 5'
|
¤ Preserve Trigger |
Then Player 1 would only receive 1 mineral constantly whenever he has a guy on 'Location 1' because 'Switch 5' would be cleared when he gets off of it.
Of course, this would be a really lame application of Switches because you could do the same thing with just 1 trigger. But Switches have tons of great uses.
I hope this answers any question you have about switches.
Yeah it matters what switch you use. Say that the condition in the second trigger in this post was: 'Switch 4' is set. It would run because you set Switch 5 and not 4.
Get it?