Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: what do switches do?
what do switches do?
Sep 23 2008, 1:50 pm
By: NaDa  

Sep 23 2008, 1:50 pm NaDa Post #1



i know they obiously turn things on or off but i can never get them to work



None.

Sep 23 2008, 2:25 pm Biophysicist Post #2



Why is this in Modding Assistance?

Switches are like boolean variables in other programming languages. You can set, clear, toggle, or randomize a switch with a trigger. You can read them with the Switches condition in triggers. They have nothing to do with mods, they're used in Use Map Settings maps.



None.

Sep 24 2008, 1:09 am Symmetry Post #3

Dungeon Master

http://www.staredit.net/?p=tutorials&tut=19



:voy: :jaff: :voy: :jaff:

Sep 24 2008, 1:29 am Pigy_G Post #4



@ t/z, This is UMS Mapmaking Assistance, the correct fourm.

Switch's are useful if you're new to using Death Counters, Read the tutorial Killer_Kow posted.



None.

Sep 24 2008, 1:35 am Morphling Post #5



Quote from Pigy_G
@ t/z, This is UMS Mapmaking Assistance, the correct fourm.

Switch's are useful if you're new to using Death Counters, Read the tutorial Killer_Kow posted.
Well obviosly someone moved the topic here from Modding Assistance. Unless he is just stupid.



None.

Sep 24 2008, 1:49 am Pigy_G Post #6



I expect the latter... Jk :D didn't think of that... GJ Morph now I look bad.



None.

Sep 24 2008, 4:00 am Falkoner Post #7



I definitely need to make some additions to that tutorial.

Anyways, switches are only really useful when you need instant randomization, or when you have a global variable, which is the same for all players, otherwise, use Death Counts, which are far more flexible and can have different values for each player.



None.

Sep 24 2008, 7:36 am NaDa Post #8



Thanks.



None.

Sep 24 2008, 3:13 pm Hercanic Post #9

STF mod creator, Modcrafters.com admin, CampaignCreations.org staff

Triggers can be used it mods, so this thread was not completely out of line by being in Modding Assistance. However, he would likely get a better answer here in UMS Mapping, even if he's making a mod rather than a map.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
Please log in to shout.


Members Online: Symmetry