• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:43
CET 00:43
KST 08:43
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !3Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win2Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win Did they add GM to 2v2? RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship StarCraft2.fi 15th Anniversary Cup
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion
Tourneys
[BSL21] WB SEMIFINALS - Saturday 21:00 CET [Megathread] Daily Proleagues [BSL21] RO8 - Day 2 - Sunday 21:00 CET [ASL20] Grand Finals
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread General RTS Discussion Thread Dawn of War IV Nintendo Switch Thread PC Games Sales Thread
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread European Politico-economics QA Mega-thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2001 users

Map Editor Trigger Question

Forum Index > BW General
Post a Reply
Jyvblamo
Profile Blog Joined June 2006
Canada13788 Posts
Last Edited: 2010-01-22 23:51:08
January 22 2010 23:50 GMT
#1
Hey folks, I have a quick question regarding a problem I'm having with a system of triggers in scmdraft.

The triggers in question are as follows:
Stuff
//---trigger1--------------------------------------------------------------//

Trigger("All players"){
Conditions:
Countdown Timer(Exactly, 0);

Actions:
Set Switch("Switch1", set);
Preserve Trigger();
}

//---trigger2--------------------------------------------------------------//

Trigger("All players"){
Conditions:
Switch("Switch1", set);

Actions:
Create Unit("Player 1", "Zerg Zergling", 1, "spawnZ");
Create Unit("Player 1", "Zerg Zergling", 1, "spawnZ2");
Run AI Script("SuiR");
Set Countdown Timer(Set To, 10);
Set Switch("Switch1", clear);
Set Resources("Player 1", Add, 1, gas);
Preserve Trigger();
Comment("wave1");
}

//---trigger3--------------------------------------------------------------//

Trigger("All players"){
Conditions:
Accumulate("Player 1", At least, 1, gas);
Countdown Timer(Exactly, 1);

Actions:
Create Unit("Player 1", "Zerg Zergling", 1, "spawnZ");
Create Unit("Player 1", "Zerg Zergling", 1, "spawnZ2");
Create Unit("Player 1", "Terran Marine", 1, "spawnT");
Create Unit("Player 1", "Terran Marine", 1, "spawnP");
Run AI Script("SuiR");
Preserve Trigger();
Comment("wave2");
}

//-----------------------------------------------------------------//
Stuff

Now, my problem is, the last trigger (the one requiring player 1 to accumulate 1<= gas) never seems to go off, while the second trigger seems to do fine.

What I want to happen is:
- Game starts, timer counts down from 60 (I already have a trigger initializing the timer)
- trigger 2 activates, spawns 2 lings, reset countdown to 60, and add 1 gas
- timer counts down from 60
- at timer = 1, spawn 2 lings and 2 marines
- at timer = 0, spawn 2 lings
- repeat

If someone could resolve my understanding of this, I would greatly appreciate it! -_-;;
Kenpachi
Profile Blog Joined August 2009
United States9908 Posts
January 22 2010 23:52 GMT
#2
Countdown timer is known to be glitchy.
Nada's body is South Korea's greatest weapon.
ejac
Profile Blog Joined January 2009
United States1195 Posts
Last Edited: 2010-01-23 00:01:46
January 22 2010 23:59 GMT
#3
Starcraft is not fast enough to use countdown timer/elapsed time with "exact" consistently.

If you set it to

Countdown Timer(at least, 1);
Countdown Timer(at most, 2);

that should work.
Or you could try adding hyper triggers.
esq>n
Jyvblamo
Profile Blog Joined June 2006
Canada13788 Posts
January 23 2010 00:18 GMT
#4
On January 23 2010 08:59 ejac wrote:
Starcraft is not fast enough to use countdown timer/elapsed time with "exact" consistently.

If you set it to

Countdown Timer(at least, 1);
Countdown Timer(at most, 2);

that should work.
Or you could try adding hyper triggers.

Thanks, that seems to work. =D
Please log in or register to reply.
Live Events Refresh
Next event in 10h 17m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft380
NeuroSwarm 138
StarCraft: Brood War
Artosis 635
NaDa 29
Mong 11
Dota 2
syndereN1301
LuMiX1
League of Legends
C9.Mang0170
Counter-Strike
taco 324
Other Games
Grubby5852
summit1g3011
FrodaN1204
Fuzer 302
Mew2King53
Trikslyr38
ZombieGrub36
Organizations
Other Games
BasetradeTV43
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Hupsaiya 84
• davetesta69
• musti20045 39
• Kozan
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22164
• WagamamaTV956
League of Legends
• Doublelift3898
Other Games
• imaqtpie2535
• Shiphtur274
Upcoming Events
The PondCast
10h 17m
WardiTV 2025
13h 17m
Cure vs Creator
Solar vs TBD
herO vs Spirit
Scarlett vs Gerald
MaNa vs ShoWTimE
Nice vs TBD
WardiTV 2025
1d 11h
OSC
1d 14h
CranKy Ducklings
2 days
SC Evo League
2 days
Ladder Legends
2 days
BSL 21
2 days
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
3 days
Ladder Legends
3 days
[ Show More ]
BSL 21
3 days
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
4 days
Monday Night Weeklies
4 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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.