• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:39
CEST 15:39
KST 22:39
  • 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
BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26Code S RO12 Results + RO8 Groups (2025 Season 2)3
StarCraft 2
General
BGE Stara Zagora 2025: Info & Preview The SCII GOAT: A statistical Evaluation Magnus Carlsen and Fabi review Clem's chess game. Jim claims he and Firefly were involved in match-fixing GSL Ro4 and Finals moved to Sunday June 15th
Tourneys
Bellum Gens Elite: Stara Zagora 2025 Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025 Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void
Brood War
General
BW General Discussion [BSL20] ProLeague: Bracket Stage & Dates Will foreigners ever be able to challenge Koreans? BGH auto balance -> http://bghmmr.eu/ I made an ASL quiz
Tourneys
[ASL19] Grand Finals [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2 [BSL20] ProLeague Bracket Stage - Day 1
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Path of Exile Nintendo Switch Thread Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 23616 users

[H] UMS victory trigger question

Blogs > Ideas
Post a Reply
Ideas
Profile Blog Joined April 2008
United States8082 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 States8082 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
Canada4198 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
AllThingsProtoss
11:00
Team League - Grand Finals
Gemini_1956
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .288
EnDerr 95
ProTech83
StarCraft: Brood War
Sea 12865
Calm 6066
Horang2 4150
Shuttle 3198
Rain 2666
Bisu 851
firebathero 836
Jaedong 707
Hyuk 496
EffOrt 476
[ Show more ]
Snow 414
actioN 307
Mini 288
ggaemo 280
Last 145
JYJ115
Hyun 95
sorry 87
Aegong 65
TY 63
Pusan 57
sSak 47
Rush 43
Sea.KH 40
Barracks 34
Killer 26
Mong 24
Sacsri 20
GoRush 17
Sharp 16
JulyZerg 14
Terrorterran 12
yabsab 8
ivOry 4
soO 4
Britney 0
Dota 2
Gorgc5792
qojqva2183
XcaliburYe371
Fuzer 287
syndereN218
Counter-Strike
olofmeister635
allub344
Heroes of the Storm
Khaldor303
Other Games
singsing2200
B2W.Neo794
mouzStarbuck486
XaKoH 92
ArmadaUGS39
Organizations
Dota 2
PGL Dota 2 - Main Stream7698
StarCraft 2
CranKy Ducklings408
StarCraft: Brood War
UltimateBattle 34
StarCraft 2
angryscii 25
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Adnapsc2 18
• MJG 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 3415
League of Legends
• Jankos1505
Upcoming Events
Fire Grow Cup
1h 21m
BSL: ProLeague
4h 21m
HBO vs Doodle
spx vs Tech
DragOn vs Hawk
Dewalt vs TerrOr
Replay Cast
10h 21m
Replay Cast
1d 10h
Replay Cast
1d 20h
WardiTV Invitational
1d 21h
WardiTV Invitational
1d 21h
GSL Code S
2 days
Rogue vs GuMiho
Maru vs Solar
Online Event
3 days
GSL Code S
3 days
herO vs TBD
Classic vs TBD
[ Show More ]
The PondCast
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
Korean StarCraft League
5 days
CranKy Ducklings
5 days
WardiTV Invitational
5 days
Cheesadelphia
6 days
GSL Code S
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-06-05
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 2
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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 © 2025 TLnet. All Rights Reserved.