• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:27
CET 22:27
KST 06:27
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
BGE Stara Zagora 2026 cancelled10Blizzard Classic Cup - Tastosis announced as captains12Weekly Cups (March 2-8): ByuN overcomes PvT block4GSL CK - New online series18BSL Season 224
StarCraft 2
General
BGE Stara Zagora 2026 cancelled BGE Stara Zagora 2026 announced ByuL: The Forgotten Master of ZvT Terran AddOns placement Blizzard Classic Cup - Tastosis announced as captains
Tourneys
StarCraft Evolution League (SC Evo Biweekly) https://www.facebook.com/BubaSocks.Official/ [GSL CK] Team Maru vs. Team herO WardiTV Team League Season 10 Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 516 Specter of Death Mutation # 515 Together Forever Mutation # 514 Ulnar New Year
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL21 General Discussion BW General Discussion Gypsy to Korea Are you ready for ASL 21? Hype VIDEO
Tourneys
[Megathread] Daily Proleagues [BSL22] Open Qualifiers & Ladder Tours IPSL Spring 2026 is here! ASL Season 21 Qualifiers March 7-8
Strategy
Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Zealot bombing is no longer popular?
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread PC Games Sales Thread No Man's Sky (PS4 and PC)
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Mexico's Drug War NASA and the Private Sector
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [Manga] One Piece
Sports
Formula 1 Discussion 2024 - 2026 Football Thread General nutrition recommendations Cricket [SPORT] TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Gaming-Related Deaths
TrAiDoS
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1807 users

[H] UMS victory trigger question

Blogs > Ideas
Post a Reply
Ideas
Profile Blog Joined April 2008
United States8166 Posts
January 30 2010 02:51 GMT
#1
Hey guys. Taking my 1st shot at an UMS map for the first time in a few years (like 8 LOL). I've put a few hours into it and I'm wrapping up most initial level parts, and right now I'm at the part where I want to put in the ending trigger. It's a single-player map (I know lame right?) and I want the game to end when the player has mined out all minerals on the map. The player is spending the money as he makes it so I can't just say "once player accumulates X resources end game in victory". I tried messing around with setting a scoreboard and the player gets a point for each mineral he mines (minerals are the only resource btw), in an effort to count pure amount mined and not spent, and then I could just say when player reaches X score end game in victory. I put that in but the scoreboard doesnt even show. This is probably because I've forgotten so many trigger properties that it's just in wrong.

Anyway, is that a good method of going about it, or is there an easier way? Thanks.

Free Palestine
illu
Profile Blog Joined December 2008
Canada2531 Posts
January 30 2010 02:59 GMT
#2
That sounds a little bit hard. Perhaps you can count the amount of mineral the player mines.
:]
plated.rawr
Profile Blog Joined June 2008
Norway1676 Posts
January 30 2010 03:00 GMT
#3
Minerals count as units, right? It's been ten years since I did the editor goodness, but as far as I can recall, you should be able to make a few Regions in your mineral field, then add a trigger to end game - victory when the Region contains no units.
Savior broke my heart ;_; || twitch.tv/onnings
Oracle
Profile Blog Joined May 2007
Canada411 Posts
January 30 2010 03:04 GMT
#4
I haven't mapped in a long time but here's what i remember

P12 owns the neutral resources, so you can try a
command(p12, 0, mineral field type1);
command(p12, 0, mineral field type 2);
command(p12, 0, mineral field type3);

Of course you'd need SCMDraft or Starforge for these triggers (those are starforge syntax triggers btw)
Ideas
Profile Blog Joined April 2008
United States8166 Posts
January 30 2010 03:24 GMT
#5
On January 30 2010 12:04 Koltz wrote:
I haven't mapped in a long time but here's what i remember

P12 owns the neutral resources, so you can try a
command(p12, 0, mineral field type1);
command(p12, 0, mineral field type 2);
command(p12, 0, mineral field type3);

Of course you'd need SCMDraft or Starforge for these triggers (those are starforge syntax triggers btw)



yea I'm just using X-tra editor :\
Free Palestine
Impervious
Profile Blog Joined March 2009
Canada4216 Posts
January 30 2010 03:53 GMT
#6
SCMDraft is awesome for that kind of trigger editing.
~ \(ˌ)im-ˈpər-vē-əs\ : not capable of being damaged or harmed.
d3_crescentia
Profile Blog Joined May 2009
United States4054 Posts
January 30 2010 04:47 GMT
#7
I just checked StarEdit, and it really sucks that the Score condition doesn't count resources mined, but that they're still willing to display a Resources score.

I think with SCMDraft you can create a trigger that says when Resources Score = X, then victory, where X is the total amount of resources on the map.

Otherwise, you might want to consider a P12 commands at most 0 unit at location kind of thing.
once, not long ago, there was a moon here
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 30 2010 09:22 GMT
#8
AllPlayers might work as an replacement for P12 in this case.
If you have a good reason to disagree with the above, please tell me. Thank you.
Please log in or register to reply.
Live Events Refresh
Next event in 2h 33m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 796
ProTech145
JuggernautJason87
StarCraft: Brood War
NaDa 16
Dota 2
canceldota138
Counter-Strike
fl0m3947
Coldzera 631
byalli353
Heroes of the Storm
Liquid`Hasu332
Khaldor148
Other Games
gofns44701
tarik_tv14281
summit1g7637
FrodaN3889
Grubby2980
Gorgc2408
Beastyqt591
B2W.Neo539
KnowMe456
DeMusliM254
C9.Mang0209
Organizations
Other Games
gamesdonequick1698
ComeBackTV 234
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• StrangeGG 58
• davetesta20
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• RayReign 71
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Doublelift3956
• TFBlade1266
Other Games
• imaqtpie1164
• Scarra587
• Shiphtur144
Upcoming Events
Replay Cast
2h 33m
CranKy Ducklings
12h 33m
RSL Revival
12h 33m
MaxPax vs Rogue
Clem vs Bunny
WardiTV Team League
14h 33m
uThermal 2v2 Circuit
19h 33m
BSL
22h 33m
Sparkling Tuna Cup
1d 12h
RSL Revival
1d 12h
ByuN vs SHIN
Maru vs Krystianer
WardiTV Team League
1d 14h
Patches Events
1d 19h
[ Show More ]
BSL
1d 22h
Replay Cast
2 days
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
2 days
WardiTV Team League
3 days
GSL
4 days
The PondCast
5 days
WardiTV Team League
5 days
Replay Cast
6 days
WardiTV Team League
6 days
Liquipedia Results

Completed

Proleague 2026-03-12
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
BSL Season 22
Proleague 2026-03-13
RSL Revival: Season 4
Nations Cup 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

CSL Elite League 2026
ASL Season 21
Acropolis #4 - TS6
2026 Changsha Offline CUP
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
NationLESS Cup
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.