I'm currently working on a little project. I've been trying to set up a timer that would begin each wave.
I made a variable for the time of the timer. The timer and the timer window. an Integer for the wave level and an other integer for the amount of creeps
to spawn per wave.
I Created 4 points around the map for the creeps to spawn and created a trigger to make them attack towards the center of the map (where our unit is)
So far. I've been able to start a timer but with each different wave the time should change. It does not.
Sometimes some creeps don't get the order to attack towards the middle.
The timer title isn't changing with the waves.
I've tried a couple of things since it was working and now the timer just doesn't start at all now.
Suffice it to say. I need help. anyone?
I'd also like to know how to stop the timer until all the creeps from the last created wave a dead before initiating the next timer for the next wave.
Okay. I have been thinking a lot. Looking at some map posted here and I think i got a little further.
When you start the map. The timer window says Welcome and is on a 10 second timer. Once that timer elapse an error appears to the left
of the screen. The 10 second timer restarts. (not the intended effect. What I want is the first 10 sec timer to elapse and for the lvl 0 timer to begging.
Which is 20 seconds.) Then the lvl 1 timer begins. 25 second elapse. The creeps are spawned and attack towards the middle as intended. But the title of the timer window doesn't change. Anyone?
I think I messed up the triggering big time. Now I got the timer window's working. But each wave spawns a new window without deleting the last one (I tried destroying and hiding none were effective, Its probably due to the fact that I set it up wrong) and the Time doesn't change anymore. Help? Of course here is an updated copy.
Okay. I cleaned up the code for the timer. basically restarted from scratch on the timer. Its still not working as intended but at least now its working without the giberish in the triggers. I tried to make a creep counter so that when there are enemy creeps on the map the timer stops and when all the creeps are dead the timer can restart. Once the first wave starts the timer does stop but once all the creeps are dead it doesn't restart. Could some one help me out?
Okay. I managed to get a leaderboard running as a creep counter. The idea behind this was to stop the timer if there was more than 1 enemy creep in-game.
The creep counter works and the timer does stop once creeps spawn. but it doesn't restart when the last unit dies. I tried un-pausing and restarting. Havn't tried a mixture of both. Any idea's?
Okay. I managed to fix the timer, although the title still doesn't change. I've left it blank for now. The rounds successfully chain themselves but the time of the timer is still un-affected between waves as it should be. Odd thing occurs on level 3. The creep counter goes wild and starts adding and removing counts, thus screwing the timer. Not sure how to fix it. Here is an updated version.
Hello everyone.
I'm currently working on a little project. I've been trying to set up a timer that would begin each wave. I made a variable for the time of the timer. The timer and the timer window. an Integer for the wave level and an other integer for the amount of creeps to spawn per wave.
I Created 4 points around the map for the creeps to spawn and created a trigger to make them attack towards the center of the map (where our unit is)
So far. I've been able to start a timer but with each different wave the time should change. It does not. Sometimes some creeps don't get the order to attack towards the middle. The timer title isn't changing with the waves.
I've tried a couple of things since it was working and now the timer just doesn't start at all now.
Suffice it to say. I need help. anyone? I'd also like to know how to stop the timer until all the creeps from the last created wave a dead before initiating the next timer for the next wave.
@DarlD: Go
Okay. I have been thinking a lot. Looking at some map posted here and I think i got a little further. When you start the map. The timer window says Welcome and is on a 10 second timer. Once that timer elapse an error appears to the left of the screen. The 10 second timer restarts. (not the intended effect. What I want is the first 10 sec timer to elapse and for the lvl 0 timer to begging. Which is 20 seconds.) Then the lvl 1 timer begins. 25 second elapse. The creeps are spawned and attack towards the middle as intended. But the title of the timer window doesn't change. Anyone?
I think I messed up the triggering big time. Now I got the timer window's working. But each wave spawns a new window without deleting the last one (I tried destroying and hiding none were effective, Its probably due to the fact that I set it up wrong) and the Time doesn't change anymore. Help? Of course here is an updated copy.
Okay. I cleaned up the code for the timer. basically restarted from scratch on the timer. Its still not working as intended but at least now its working without the giberish in the triggers. I tried to make a creep counter so that when there are enemy creeps on the map the timer stops and when all the creeps are dead the timer can restart. Once the first wave starts the timer does stop but once all the creeps are dead it doesn't restart. Could some one help me out?
Okay. I managed to get a leaderboard running as a creep counter. The idea behind this was to stop the timer if there was more than 1 enemy creep in-game. The creep counter works and the timer does stop once creeps spawn. but it doesn't restart when the last unit dies. I tried un-pausing and restarting. Havn't tried a mixture of both. Any idea's?
Of course here is an updated copy of my work.
Okay. I managed to fix the timer, although the title still doesn't change. I've left it blank for now. The rounds successfully chain themselves but the time of the timer is still un-affected between waves as it should be. Odd thing occurs on level 3. The creep counter goes wild and starts adding and removing counts, thus screwing the timer. Not sure how to fix it. Here is an updated version.
Bump Still need help. I can't seam to figure out the problem.