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.
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
Please log in to shout.


Members Online: Zycorax, coleowen466, jarofixkaufen