Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: I need really good explanation bout SWITCH
I need really good explanation bout SWITCH
This topic is locked. You can no longer write replies here.
Jul 6 2009, 4:51 pm
By: Ashura  

Jul 6 2009, 4:51 pm Ashura Post #1



I know it makes more than one triggers happen but prob is how to use and set it up correctly i mean I dont how to get start with it so I need really good Instructions bout it ! THX :D



None.

Jul 6 2009, 4:55 pm Falkoner Post #2



http://Falkoner.CoW.GooglePages.com/Switches.html

http://www.staredit.net/wiki/Switch

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

I would recommend the first one, mainly because I wrote it.



None.

Jul 6 2009, 5:03 pm Kaias Post #3



A switch is just a value- on or off; set or clear- that you can set and read.

So if I had a long list of conditions:
EX:
Conditions:
Player brings at least 1 Terran Marine to Location 1
Player 1 brings at least 1 Terran Marine to Location 2
Player 1 brings at least 1 Terran Marine to Location 3
Player 1 brings at least 1 Terran Marine to Location 4
Player 1 brings at least 1 Terran Marine to Location 5
Player 1 brings at least 1 Terran Marine to Location 6


That I needed for many many triggers, I could make it so that when they are true it sets a switch. Then for every other trigger that needs these conditions to be true I can just read the switch

EX:
Trigger 1
Conditions:
Player 1 brings at least 1 Terran Marine to Location 1
Player 1 brings at least 1 Terran Marine to Location 2
Player 1 brings at least 1 Terran Marine to Location 3
Player 1 brings at least 1 Terran Marine to Location 4
Player 1 brings at least 1 Terran Marine to Location 5
Player 1 brings at least 1 Terran Marine to Location 6
Actions:
Set 'Switch 1'
Display Text "Player 1 is bringing a Marine to a lot of locations for no apparent reason"
Preserve Trigger

Trigger 2
Conditions:
'Switch 1' is set
Player 1 has accumulated at least 50 ore
Actions:
Display Text "Player is bringing a Marine to a lot of locations and also has over 49 ore. I'm not sure why this is relevant"
Preserve Trigger


Understand? Also note that a switch is by default cleared and is set or clear until another trigger makes it otherwise.

Try looking up the tutorial on it and also see Death Counters, which are far more useful.



None.

Jul 6 2009, 7:36 pm JaFF Post #4



You have failed to follow one of the rules of this subforum: do not ask very basic questions because you will probablt find answers in the wiki or a sticikied topic. Here is the frequently asked questions topic that also has information about switches.

I will close this topic now. If you have read through all the material suggested in this thread and still don't get switches, PM me any specific questions you have. If your questions are indeed reasonable and are not answered in any of the suggested links, I will re-open the topic for further discussion. If your questions are still basic, that means you're not trying hard enough (or not trying at all) to understand the material the community is giving you.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[05:48 pm]
Zoan -- ppl do it all the time in PDEs
[05:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[05:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[05:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[05:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[05:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
[04:32 pm]
NudeRaider -- Zoan
Zoan shouted: I find it kind of sad that on the same day it was announced AI solved Navier Stokes, it was also announced AI beat Portal, and there's a good deal of people who don't know which is more impressive
you find it sad not everyone is a math nerd?
[03:25 pm]
NudeRaider -- (and yes, I capitalized that correctly :ego:)
[03:24 pm]
NudeRaider -- Symmetry
Symmetry shouted: Hi not I'm dad
Hi dad, I'm nude
Please log in to shout.


Members Online: DarkenedFantasies