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.
[2024-6-06. : 5:20 pm]
Ultraviolet -- I was kinda thinking something along these lines
[2024-6-06. : 2:23 pm]
NudeRaider -- I'll play the shadow out of you!
[2024-6-06. : 2:20 pm]
Vrael -- ooooo darker baby darker
[2024-6-06. : 2:20 pm]
Vrael -- yeah make it dark
[2024-6-06. : 2:20 pm]
Vrael -- ohhh yeah cast ur shadow right on my light bits
[2024-6-06. : 7:56 am]
Oh_Man -- It's nvidia shadowplay come on people!! get ur minds out of the gutter and join me in utopia
[2024-6-05. : 7:04 pm]
Ultraviolet -- NudeRaider Am I the only sick fuck who heard shadow play and started thinking what weird sex stuff it might be? :P
[2024-6-05. : 7:01 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
terrible game
[2024-6-05. : 12:47 pm]
Oh_Man -- lol my shadowplay seems to think starcraft is diablo 4 now; i wonder if this is coz i had diablo 4 open the toher day
Please log in to shout.


Members Online: MetalGear, Ultraviolet, O)FaRTy1billion[MM], Roy