Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > StarCraft > Starcraft General > Starcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 03-10-2004, 01:27 AM   #1 (permalink)
Respected Member
 
Crookedfoot's Avatar
 
Join Date: Aug 2002
Location: Middle of Nowhere
Age: 44
Posts: 1,075
Triggers that use the count down timer

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?
__________________

The Silent One
Crookedfoot is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 03-10-2004, 03:07 AM   #2 (permalink)
BattleForums Senior Member
 
Bolt Head's Avatar
 
Join Date: May 2003
Posts: 1,194
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.

Last edited by Bolt Head; 03-10-2004 at 03:17 AM.
Bolt Head is offline   Reply With Quote
Old 03-10-2004, 04:43 AM   #3 (permalink)
Respected Member
 
Crookedfoot's Avatar
 
Join Date: Aug 2002
Location: Middle of Nowhere
Age: 44
Posts: 1,075
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.
__________________

The Silent One
Crookedfoot is offline   Reply With Quote
Old 03-11-2004, 09:02 PM   #4 (permalink)
BattleForums Senior Member
 
KillerMe's Avatar
 
Join Date: Jul 2003
Location: Phoenix, AZ
Posts: 1,200
Do ensure that the the trigger fires, you could do:

At Least 0
At Most 5
but it looks like you figured that out yourself.
KillerMe is offline   Reply With Quote
Old 03-11-2004, 09:10 PM   #5 (permalink)
BattleForums Senior Member
 
Bolt Head's Avatar
 
Join Date: May 2003
Posts: 1,194
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.
Bolt Head is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« Trigger Happy Defense! | Noob help again »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 03:29 PM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0