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:16 am]
Symmetry -- that is a serious crime
[03:11 am]
O)FaRTy1billion[MM] -- right to jail
[11:29 pm]
Vrael -- idk what I did but I like triple-posted in SD sorry
[02:45 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: have i ever told u guys my SC2 pro-gamer story
how many GSL titles?
[2026-7-27. : 10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[2026-7-27. : 7:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[2026-7-26. : 11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
Please log in to shout.


Members Online: RIVE