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.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: IlyaSnopchenko, Roy, jun3hong