Triggers that use the count down timer

Crookedfoot

Premium Member
Joined
Aug 6, 2002
Messages
1,077
Reaction score
0
Location
Middle of Nowhere
Website
www.battleforums.com
I'm looking over a friends map that uses the count down timer condition.
How is this affected by by game speed?

I do remember that this condition does not run at the same speed as the Set Countdown Timer action in some of my earlier maps.

Would a person be better off using a Wait action instead?
Or is there a proper way to stack this into a trigger to make it work right?
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
Most likely it would NOT be better of using a Wait, Because when you use long waits they interfear with some other waits and can screw things up. One thing that might be wrong is your trigger is something like this

Conditions:
-Count down timer is exactly 10 seconds
Actions:
-Display Text "Warning 10 seconds remaining"

Then it is possable for the triggers to actually skip over this. Without the use of hyper triggers, Triggers fire once about every 1.5 to 2 seconds. And it is possable that the conditions are checked when the count down timmer is at 11 and not again till it reaches 9. (I only mention this because I know a person that was haveing this happen to him before)

If this dosen't help perhaps you should tell us the trigger he used. Because it seems to me your comming to help because something doesn't work.

Edit: ohh how is it effected by game speed. Im not really sure, lol damn it I should know that. I know Waits are not effected by game speed.
 

Crookedfoot

Premium Member
Joined
Aug 6, 2002
Messages
1,077
Reaction score
0
Location
Middle of Nowhere
Website
www.battleforums.com
What he has is...
=======================
Countdown is exactly 0 game seconds

Create units
Preserve trigger
=======================
There is another trigger to reset the clock to 300 seconds when this hits zero

And I bet it's like you are suggesting, that it is skipping over the trigger.
But since it is set for exactly 0 shouldn't it see the trigger on it's next run through the triggers?
Or is it possible the trigger is getting erased before it is seen?

I ran out of time tonight, but I will try this tomoro
=============
Countdown is at most 4 game seconds

Create units
wait about 6000 mili
modify countdown timer set to 300 game seconds
Preserve trigger
=============

I don't think the 2 second delay will matter much, and haveing the two triggers in one may help.
If that doesnt help, I'll add the hyper trigger, unless you know a better way.

I personally do not use the countdown timer condition unless I really have too, if I am wrong about the "at most 4 game seconds" please correct me.
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
If you can make them one action do so from looking at the two you got use

Conditions:
-Countdown timer is exactly 0
Actions:
-Create 1 unit at location for player
-Wait 2000
-Set count down timmer to 300 seconds
-Preserve Trigger

You shouldn't use the wait unless your specificly trying to have the count down timmer reset 2 seconds after it reaches 0. Also if your coun't down timmer is just used for a unit spawn, then I would consider doing something else unless it is neccessary to see how much time is left before you get yoru unit.

the triggers you had listed would reset the counter before the first one would have the chance to create the unit.
 

New threads

Top