• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:01
CEST 13:01
KST 20:01
  • 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
[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris34Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
Greatest Players of All Time: 2025 Update A Eulogy for the Six Pool BoxeR's Wings Episode 2 - Fan Translation #1: Maru - Greatest Players of All Time Geoff 'iNcontroL' Robinson has passed away
Tourneys
$5,000 WardiTV Summer Championship 2025 Maestros of The Game—$20k event w/ live finals in Paris $5,100+ SEL Season 2 Championship (SC: Evo) Esports World Cup 2025 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
BW General Discussion No Rain in ASL20? Post ASL20 Ro24 discussion. BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games
Tourneys
[ASL20] Ro24 Group F [ASL20] Ro24 Group E [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group D
Strategy
Muta micro map competition Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Mechabellum Nintendo Switch Thread Dawn of War IV
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The year 2050 European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1504 users

[H] UMS victory trigger question

Blogs > Ideas
Post a Reply
Ideas
Profile Blog Joined April 2008
United States8109 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 States8109 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
Canada4200 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
LiuLi Cup
11:00
Monthly Finals
MaxPax vs TriGGeR
ByuN vs herO
Cure vs Rogue
Classic vs HeRoMaRinE
WardiTV85
Rex42
CranKy Ducklings14
3DClanTV 4
IntoTheiNu 1
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 164
Rex 42
StarCraft: Brood War
Calm 5464
PianO 1724
Horang2 1411
BeSt 386
Mini 365
Stork 314
ZerO 285
Larva 284
EffOrt 237
actioN 233
[ Show more ]
Light 226
Hyuk 200
Zeus 171
Mong 162
Mind 132
TY 131
ggaemo 130
Leta 125
Pusan 90
Hyun 89
Rain 84
Rush 65
ToSsGirL 61
yabsab 43
Liquid`Ret 41
JYJ37
Sacsri 35
Nal_rA 33
sorry 32
zelot 30
NotJumperer 28
soO 24
JulyZerg 23
Soulkey 23
[sc1f]eonzerg 20
Sharp 18
Yoon 17
ajuk12(nOOB) 11
HiyA 8
Hm[arnc] 3
Dota 2
XcaliburYe227
XaKoH 130
League of Legends
JimRising 251
Counter-Strike
flusha163
zeus161
Other Games
summit1g7130
singsing1699
B2W.Neo601
Lowko218
SortOf145
Happy143
oskar142
Hui .99
DeMusliM97
Pyrionflax41
Dewaltoss12
ZerO(Twitch)11
MindelVK6
Organizations
Counter-Strike
PGL1893
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota279
League of Legends
• Jankos746
• Stunt526
Upcoming Events
Cosmonarchy
5h
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
Big Brain Bouts
5h
Iba vs GgMaChine
TriGGeR vs Bunny
Reynor vs Classic
Serral vs Clem
BSL Team Wars
8h
Team Hawk vs Team Dewalt
BSL Team Wars
8h
Team Hawk vs Team Bonyth
Code For Giants Cup
11h 30m
SC Evo League
1d 1h
TaeJa vs Cure
Rogue vs threepoint
ByuN vs Creator
MaNa vs Classic
Maestros of the Game
1d 5h
ShoWTimE vs Cham
GuMiho vs Ryung
Zoun vs Spirit
Rogue vs MaNa
[BSL 2025] Weekly
1d 7h
SC Evo League
2 days
Maestros of the Game
2 days
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
[ Show More ]
BSL Team Wars
2 days
Team Bonyth vs Team Sziky
BSL Team Wars
2 days
Team Dewalt vs Team Sziky
Monday Night Weeklies
3 days
Replay Cast
3 days
Sparkling Tuna Cup
3 days
PiGosaur Monday
4 days
LiuLi Cup
5 days
Replay Cast
5 days
The PondCast
5 days
RSL Revival
5 days
Maru vs SHIN
MaNa vs MaxPax
RSL Revival
6 days
Reynor vs Astrea
Classic vs sOs
Liquipedia Results

Completed

CSL Season 18: Qualifier 1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
Acropolis #4 - TS1
CSL Season 18: Qualifier 2
SEL Season 2 Championship
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
Maestros of the Game
EC S1
Sisters' Call Cup
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
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.