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

(Killer_Kow)

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.
[09:46 pm]
ihjel -- whoops meant to search ;p
[09:46 pm]
ihjel -- Nekron
[06:15 pm]
UndeadStar -- reinssanance ?
[05:46 pm]
l)ark_ssj9kevin -- ya
[05:45 pm]
Symmetry -- Nah that's me :hurr:
[01:08 pm]
Oh_Man -- butch singlehandedly bringing in the next UMS reinssanance up in here
[2026-10-31. : 3:18 am]
Symmetry -- Make maps for the memes :hurr:
[2026-10-30. : 8:19 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
hah yeah in the past that might've been up my alley. haven't really been mapping lately, been too busy with everything else. and kinda lost interest too tbh. just not enough people left on SC to feel worth investing the time personally.
[2026-10-30. : 8:03 pm]
lil-Inferno -- u
[2026-10-30. : 7:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
Please log in to shout.


Members Online: RIVE, ihjel