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! -_-;;