Switches?

Renzokuken

Saved
Joined
Oct 11, 2002
Messages
8,812
Reaction score
12
Location
Zanarkand
OK, i now realise if i want to make a decent map, i might need to utilise the advanced technique switches.

Could someone refer me to a site or something that will explain them in lamens terms to a newb like me?

Any help is appreciated.
 

Emperor Pan I

Respected Member
Joined
Aug 8, 2002
Messages
12,653
Reaction score
12
Location
Canada
I havnet done SC in awhile but isnt it basicly, switchs are all set in one position and u can set a certain action to change the value of a switch and then triggers with the conditions requireing the switch to be set or wahtever will be initialized.
 

SpX

Member!
Joined
Jul 12, 2004
Messages
536
Reaction score
0
Location
Minnesota
Website
www.battleforums.com
Well, I'm sure that I could help you with switches, just tell me what your problem is and I'm sure I'll be able to help you.
 

raDixGhost

Member!
Joined
Sep 20, 2002
Messages
2,603
Reaction score
0
Location
East Coast
Website
www.gamers2k4.com
Switches are never really "absolutely needed," in the begining i didnt know how to use them but there are always other ways around switches. But switches makes the map look more professional, i think.
 

Lwek

Member!
Joined
May 18, 2003
Messages
4,487
Reaction score
0
Website
www.Battleforums.com
I have never really found a "simple" way to explain switches.
All switches are cleared by default.
Just setting a switch does nothing. The switch is set, but nothing will happen.
Now if you have the condition "Switch # is set", all the actions can be fired. But only once the switch is set.
So, examples are:
Marine is brought to beacon, set switch 1
Switch 1 is set, create 5 marines at beacon
------
Player 1 accumulates 5 gas, set switch 1
Switch 1 is set, subtract 5 gas

Set Switch = Switch is turned on
Clear Switch = Switch is turned off
Toggle Switch = Switch is turned to the opposite of what it was.(if it is off, then it is turned on, if it is on, then it is turned off)
Randomize Switch = Randomly sets the switch either on or off.
 

Emperor Pan I

Respected Member
Joined
Aug 8, 2002
Messages
12,653
Reaction score
12
Location
Canada
Originally posted by Lwek
I have never really found a "simple" way to explain switches.
All switches are cleared by default.
Just setting a switch does nothing. The switch is set, but nothing will happen.
Now if you have the condition "Switch # is set", all the actions can be fired. But only once the switch is set.
So, examples are:
Marine is brought to beacon, set switch 1
Switch 1 is set, create 5 marines at beacon
------
Player 1 accumulates 5 gas, set switch 1
Switch 1 is set, subtract 5 gas

Set Switch = Switch is turned on
Clear Switch = Switch is turned off
Toggle Switch = Switch is turned to the opposite of what it was.(if it is off, then it is turned on, if it is on, then it is turned off)
Randomize Switch = Randomly sets the switch either on or off.
Yeah that was it. ITs been so long since I used the SC map editor. I ever used switches much, probly cause i could never get them to all work properly.

Im used to my variables in the warcraft one now.
 

New threads

Top