Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: countdown timer is not working!
countdown timer is not working!
Aug 8 2008, 2:56 am
By: Gold_Member  

Aug 8 2008, 2:56 am Gold_Member Post #1



Hello, I am trying to get triggers working where a certain time is reached on the countdown timer and then units will spawn. It starts out at 3600 seconds (60 min) and the first wave is at 3300 seconds (55 min). But when the timer reaches 55 minutes, nothing happens. the trigger is set up like so:

Players:

P8 (computer for which the waves spawn)


Condition:

Countdown timer reaches 3300 seconds.


Actions:

Create 30 zerglings at "location x" for player 8


on the other levels I have more of the action triggers making more baddies, but none spawn plz help!



None.

Aug 8 2008, 3:34 am rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Gold_Member
Hello, I am trying to get triggers working where a certain time is reached on the countdown timer and then units will spawn. It starts out at 3600 seconds (60 min) and the first wave is at 3300 seconds (55 min). But when the timer reaches 55 minutes, nothing happens. the trigger is set up like so:

Players:

P8 (computer for which the waves spawn)


Condition:

Countdown timer reaches 3300 seconds.


Actions:

Create 30 zerglings at "location x" for player 8


on the other levels I have more of the action triggers making more baddies, but none spawn plz help!
There is no "reached" in the Countdown condition. You need to use At most or exactly. If you use exactly, note that triggers run once every two seconds, so it's quite possible you missed it.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Aug 8 2008, 3:40 am Falkoner Post #3



You might want to add hypertriggers so it isn't be a problem.



None.

Aug 8 2008, 3:59 am Gold_Member Post #4



Ok so I know how to make the hyper trigs but what would the players be, the countdown timer is for all players but more specifically for the player with spawns at time limits right? So is it all players or...?



None.

Aug 8 2008, 4:19 am Kaias Post #5



Hyper triggers makes all triggers run more frequently, it doesn't matter who you give them to. As a general rule though, they go to a computer player without any other triggers with wait actions. (Humans can leave)



None.

Aug 8 2008, 4:32 am Falkoner Post #6



You can also put them in All Players, as long as they are under any other waits in your triggers and they will always run, even when a wait runs, unless every player runs a wait at once.



None.

Aug 8 2008, 12:20 pm Gold_Member Post #7



Quote from Falkoner
they will always run, even when a wait runs, unless every player runs a wait at once.

"every player" im assuming you mean players 1-8? whether they are computer or human?



None.

Aug 8 2008, 12:54 pm KyleIs1337 Post #8



Try this map. Run it in StarCraft and then just wait for 5 minutes and 30 zerglings will spawn.

Attachments:
Countdown.scx
Hits: 1 Size: 23.71kb



None.

Aug 8 2008, 10:21 pm Falkoner Post #9



Yes, if every player present in the map were to run a wait under their triggers at the same time, the hypertriggers would turn off, and the waits would run, otherwise only one set would turn off and the others would keep running, so nothing would change.



None.

Aug 10 2008, 8:07 am Gold_Member Post #10



Ok, the countdown timer was working perfectly after all of your help, thanks for that, but as soon as I introduced more human players to help me test, nothing spawned...



None.

Aug 10 2008, 8:14 am KyleIs1337 Post #11



Ok, what exactly is your problem.




Aug 10 2008, 8:24 am Gold_Member Post #12



When I play the map by myself, no other players, the countdown and spawn triggers execute perfectly, but as soon as I tried to test it with other players in the game with me, the spawn triggers stopped working. the spawning is only under player 8, so I dont know how more players interferes.



None.

Aug 10 2008, 9:24 am NudeRaider Post #13

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Probably wait blocks (http://www.staredit.net/wiki/Wait_Blocks). When one player executes 2 waits the same time (including hypers) they block each other out increasing both wait times incredibly, effectively stopping the trigger dead in its tracks.
Fortunately when using hypers you can use death counter timers (1 trigger loop = 83ms, 12 loops = 1000ms)

Also you can set up hyper triggers in 2 ways to prevent them from causing wait blocks if you feel like you have to use waits for your timings:
1) Give the hypers to a single computer player which never executes any other waits.
2) Give the hypers to All Players and move them to the bottom of the trigger list. However it will cause the hypers to stop until a wait is done if every single player in the game is executing a wait the same time.
To place them to the bottom of the list mark each player (1-8), all forces and all players in the classic trigger overview and klick a hyper and hold the 'o' key (for dOwn).




Aug 10 2008, 7:04 pm KyleIs1337 Post #14



So from what your saying nude is, you're able to use waits and avoid wait blocks if you set the hyper triggers for a not used computer that never executes any other waits?



None.

Aug 10 2008, 7:14 pm LegacyWeapon Post #15



Quote from KyleIs1337
So from what your saying nude is, you're able to use waits and avoid wait blocks if you set the hyper triggers for a not used computer that never executes any other waits?
Generally this works. Also, moving Hypers to the bottom of the trigger list may also work.



None.

Aug 10 2008, 7:45 pm NudeRaider Post #16

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from name:
So from what your saying nude is, you're able to use waits and avoid wait blocks if you set the hyper triggers for a not used computer that never executes any other waits?
Yes, but the comp doesn't have to be unused. Just no waits.




Aug 10 2008, 10:43 pm KyleIs1337 Post #17



Yea, in maps I make I make a computer with hypers generally player 8 and don't use any other triggers with that computer and only place units.



None.

Aug 14 2008, 12:01 am Gold_Member Post #18



Ok, well nude if you remember I started to use death counters because I had other wait blocks :P so I do have death counters in use to get rid of unnecessary waits. Player 8 has absolutely NO waits what-so-ever, and I placed Hyper Triggers on player 8 and I have put them on the bottom of the list. So yea im still stuck :bleh:



None.

Aug 14 2008, 2:19 am NudeRaider Post #19

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

My bet still is that you have a wait block. Can't imagine what else could block trigger execution.

If that is not the case (or you didn't find it even after double checking every instance of wait via text based trigger edior) then you'll have to post the map.




Aug 15 2008, 3:33 am Gold_Member Post #20



T.T I am so confused, it doesnt make sense. between the time when the countdown timer actually starts and all the way through the end of the game, none of the players have Wait commands (other then player 8 with the hyper triggers). I double checked as of now the only triggers I have for player 8 is allying P7, all the timer spawn triggers, the hypers, and order attack triggers. Could it be possible since I have the countdown trigger for All Players that it could effect the spawn triggers...? Im just throwing things that I think might mess with it. D:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: Roy