Switches
This topic is locked. You can no longer write replies here.
Aug 14 2009, 1:39 am
By: MeNtAlPaTiEnT  

Aug 14 2009, 1:39 am MeNtAlPaTiEnT Post #1



With 256 available switches and four different commands that can be given, flexibility nor organization is a problem.

Switches are usually simply for the purpose of networking commands between different players. If you want say player one to bring any unit to three locations and when he has brought a unit to each location, player one is victorious. A unit does not have to be at each location at the same time. Switches is the most obvious solution that comes to mind.

Switches have four commands, "Set", "Clear", "Toggle", and "Randomize". First I'll go into detail about the two basic commands, "Set", and "Clear". All switches commence cleared, whether you're using switches or not in your map is irrelevant, remember that. When a switch is set, it can then be used in a condition to run a different action. Back to the paragraph where we wanted player one to bring any unit to three locations and is victorious, we shall try that.
Now, I'll make this as easy as possible, for beginners.

PLAYER(S):

Player 1

CONDITION(S):

# BRING
"Current Player" brings "at least 1" "any unit" to 'location1'

ACTION(S):

# SET SWITCH
Set 'Switch 1'

PLAYER(S):

Player 1

CONDITION(S):

# Switch
'switch' 1 is set

ACTION(S):

# Victory
Victory

Now I'll explain to you the two advanced features that switches carry. Toggling is nothing complex, when your Toggle a switch, it reverts to it's opposite state. For example: If "Switch 1" is set and I toggle it, it becomes cleared, if it was cleared at first, it becomes set when toggled.

Randomization is a more sophisticated process. If you randomize a switch, the switch will randomly become either set or clear, making no difference what it's current state is. Fool around with switches, go figure, only when you have the actual experience can you fully comprehend how switches work



None.

Aug 14 2009, 1:56 am Vrael Post #2



You realize we have a wiki article on switches already, right?



None.

Aug 14 2009, 4:14 am Falkoner Post #3



Let's see, how many already made tutorials can I find on switches...

Old SeN Tutorial
Another Old SeN Tutorial
SeN Tutorial
SeN Wiki
Maplantis Wiki
My Tutorial
And now, Your tutorial, if someone doesn't get how switches work, they deserve to be beaten senseless.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:58 am]
Symmetry -- Reindeer breeding 2 is not EUD and errors when I try to upload
[12:26 am]
Moose -- Symmetry
Symmetry shouted: yeah uploading for me has been a 50/50 toss up here lately
certain EUD maps segfault the map parser, :farty: ignore me the last time I complain at him. :crybaby:
[2026-11-18. : 5:18 pm]
NudeRaider -- NimoStar
NimoStar shouted: isn't that only for maps?
yes
[2026-11-18. : 3:34 am]
Symmetry -- yeah uploading for me has been a 50/50 toss up here lately
[2026-11-17. : 7:55 pm]
NimoStar -- isn't that only for maps?
[2026-11-17. : 5:52 pm]
NudeRaider -- use scmscx.com
[2026-11-17. : 4:39 pm]
NimoStar -- While I can download, uploading is another story (771 kb file)
[2026-11-17. : 10:58 am]
UndeadStar -- Members Online: UndeadStar, EwanDalrymple090, CedrikPaquette881, ThierryCloutier864, RussellWalker308, RoisinMcCann053, GrahamEllery106, DeirdreMcCloskey160 <= good thing they only watch and don't all post
[2026-11-15. : 7:59 pm]
Symmetry -- but I seem to be downloading things fine
[2026-11-15. : 7:59 pm]
Symmetry -- the DLDB here is kinda sketch
Please log in to shout.


Members Online: ihjel, Soul Filcher