• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:30
CET 19:30
KST 03:30
  • 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
Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational12SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)25Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
PhD study /w SC2 - help with a survey! herO wins SC2 All-Star Invitational Oliveira Would Have Returned If EWC Continued StarCraft 2 not at the Esports World Cup 2026 [Short Story] The Last GSL
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ [ASL21] Potential Map Candidates Gypsy to Korea Fantasy's Q&A video BW General Discussion
Tourneys
[Megathread] Daily Proleagues Azhi's Colosseum - Season 2 Small VOD Thread 2.0 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Current Meta Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026!
Dota 2
Official 'what is Dota anymore' discussion
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Canadian Politics Mega-thread NASA and the Private Sector
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Esports Advertising Shap…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3311 users

[H] UMS victory trigger question

Blogs > Ideas
Post a Reply
Ideas
Profile Blog Joined April 2008
United States8152 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 States8152 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
Canada4213 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
BSL 21
15:00
NKorea Champ Playoff Final Day
Mihu vs XuanXuan
Bonyth vs Dewalt
ZZZero.O421
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech155
SteadfastSC 143
Rex 66
StarCraft: Brood War
Rain 2998
Sea 1685
EffOrt 616
Mini 546
ZZZero.O 421
Shuttle 203
ggaemo 164
firebathero 133
hero 125
Shine 16
[ Show more ]
HiyA 10
Terrorterran 8
Noble 8
Dota 2
qojqva2791
Counter-Strike
fl0m4424
byalli411
kRYSTAL_0
Super Smash Bros
hungrybox1090
Mew2King37
Heroes of the Storm
Khaldor528
Other Games
FrodaN2231
Liquid`RaSZi2190
Grubby1879
B2W.Neo753
Liquid`Hasu171
Beastyqt167
XaKoH 114
KnowMe40
Organizations
Other Games
EGCTV1756
gamesdonequick882
StarCraft 2
angryscii 22
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• HeavenSC 144
• LUISG 16
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• Kozan
• IndyKCrew
StarCraft: Brood War
• HerbMon 18
• Pr0nogo 11
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 7717
League of Legends
• Jankos3598
• TFBlade1303
Other Games
• imaqtpie1536
• Shiphtur234
Upcoming Events
Replay Cast
5h 30m
Wardi Open
19h 30m
Monday Night Weeklies
22h 30m
OSC
1d 5h
Replay Cast
1d 14h
WardiTV Invitational
1d 19h
Replay Cast
2 days
WardiTV Invitational
2 days
The PondCast
3 days
HomeStory Cup
4 days
[ Show More ]
Korean StarCraft League
5 days
HomeStory Cup
5 days
Replay Cast
6 days
HomeStory Cup
6 days
Liquipedia Results

Completed

Proleague 2026-01-24
OSC Championship Season 13
Tektek Cup #1

Ongoing

C-Race Season 1
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Proleague 2026-01-25
Rongyi Cup S3
Underdog Cup #3
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025

Upcoming

Escore Tournament S1: W6
Escore Tournament S1: W7
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 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.