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.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: jun3hong