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 > Major Games > Starcraft > 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 08-10-2004, 08:01 PM   #1 (permalink)
BattleForums Newbie
 
Join Date: Aug 2004
Posts: 6
Need Unit Limit Help

I have a trigger that makes one unit at a time but keeps making them with the preservetrigger action. I need a way to keep my civilian on the beacon (that triggers the action) but i want only 65 units to be made. so when 1 unit dies another will automatically be made.
Middy 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 08-10-2004, 08:16 PM   #2 (permalink)
SpX
BattleForums Addict
 
SpX's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 18
Posts: 540
Well can you show me what the triggers look like? Then I can help you probably.
__________________



Guild Wars, the only game for me : )
SpX is offline   Reply With Quote
Old 08-10-2004, 09:30 PM   #3 (permalink)
BattleForums Newbie
 
Join Date: Aug 2004
Posts: 6
Player 1

Bring(P1, Exactly, 1, Civilian, Blue Zergling);

CreateUnit(1, Zergling, Blue Maker, P1);
PreserveTrigger();

I want it to keep making zerglings until 65
Middy is offline   Reply With Quote
Old 08-10-2004, 09:31 PM   #4 (permalink)
BattleForums Senior Member
 
aphextwin's Avatar
 
Join Date: May 2003
Age: 21
Posts: 4,400
isnt there like
if there is 66 units at location
then kill 1 unit?
aphextwin is offline   Reply With Quote
Old 08-10-2004, 11:06 PM   #5 (permalink)
Kao
Drives an Evo IX ;)
 
Kao's Avatar
 
Join Date: Dec 2002
Location: England
Age: 22
Posts: 5,110
Or, just make it so that if there are =< 65 units at that location, then it won't make any. If you have Preserve Trigger, it will continue to make it for ever and ever if you have always in the conditions.
__________________

Zao

Skullcrusher


Kao is offline   Reply With Quote
Old 08-11-2004, 12:25 AM   #6 (permalink)
BattleForums Newbie
 
Join Date: Aug 2004
Posts: 6
well the people will move the 65 units all over the map, i guess i could make the location the whole map
Middy is offline   Reply With Quote
Old 08-11-2004, 12:33 AM   #7 (permalink)
BattleForums Newbie
 
Join Date: Aug 2004
Posts: 6
Quote:
Originally posted by Kao
Or, just make it so that if there are =< 65 units at that location, then it won't make any. If you have Preserve Trigger, it will continue to make it for ever and ever if you have always in the conditions.
how do i make it "not make any"
Middy is offline   Reply With Quote
Old 08-11-2004, 02:18 AM   #8 (permalink)
Kao
Drives an Evo IX ;)
 
Kao's Avatar
 
Join Date: Dec 2002
Location: England
Age: 22
Posts: 5,110
I don't think this is exactly how to do it, but I'm pretty sure you would have to use switches. I have never used switches before, so I can't guarantee my work.
__________________

Zao

Skullcrusher


Kao is offline   Reply With Quote
Old 08-11-2004, 02:44 AM   #9 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 18
Posts: 4,494
Take the easy way:
CONDITIONS
Bring(P1, Exactly, 1, Civilian, Blue Zergling);
Bring(P1,AtMost, 65, Zergling, Anywhere);
ACTIONS
CreateUnit(1, Zergling, Blue Maker, P1);
PreserveTrigger();

If you do it this way, the trigger will not fire once Player 1 has 65 or more zerglings anywhere in the map.

This must be your first time here at BattleForums. Please post ocassionally as you see BattleForums is a cool place to hang out or if you have another problem with making a map.
Lwek is offline   Reply With Quote
Old 08-11-2004, 05:07 AM   #10 (permalink)
BattleForums Senior Member
 
Bolt Head's Avatar
 
Join Date: May 2003
Posts: 1,194
Actually you got to say at most 64 units. Because the trigger will fire creating the 65th.

PS. why do you write your triggers out in SF syntax, its annoying.
Bolt Head is offline   Reply With Quote
Old 08-11-2004, 05:56 AM   #11 (permalink)
Dungeon Master
 
Taligaro's Avatar
 
Join Date: Jul 2004
Location: Colorado Springs, CO. USA
Age: 24
Posts: 462
Quote:
Originally posted by Bolt Head
PS. why do you write your triggers out in SF syntax, its annoying.
The answer is obvious and simple Bolt...
If you use SF more, you get used to doing the triggers the SF way...
If you use SE or X-tra more, you get used to doing the triggers the 'old' way...

BTW, both Lwek and Bolt are right. I've seen it done a little different, but the results are the same:

PLAYERS:
Player 1
CONDITIONS:
Player 1 commands at most 64 Zerglings
Player 1 brings exactly 1 Civilian to 'get lings'
ACTIONS:
Create 1 Zergling at 'p1 lings' for Player 1
Preserve trigger

That's similar to what a friend used in an old mass map. It will give you the result you want. However, even though there is not wait trigger in there, it will wait 1 second before it creates each ling. If you want speed, I suggest you look into hyper triggers.

If you ask me, mass maps are the easiest maps to make. Even though I am fairly new to map making myself, I could make a mass map in my sleep.
__________________
Need help with StarCraft and/or SC: Broodwar map making?
I'm the guy you should ask.
I know SC inside and out my friends.


Evil, malice, death, decay,
There really is no better way.
Taligaro is offline   Reply With Quote
Old 08-11-2004, 11:21 AM   #12 (permalink)
BattleForums Newbie
 
Join Date: Aug 2004
Posts: 6
thanks for the help everyone :-)

i was able to cut 8 triggers into 2

Last edited by Middy; 08-11-2004 at 11:32 AM.
Middy is offline   Reply With Quote
Old 08-11-2004, 12:59 PM   #13 (permalink)
SpX
BattleForums Addict
 
SpX's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 18
Posts: 540
Middy, what map are you trying to create anyways? What's it about?
__________________



Guild Wars, the only game for me : )
SpX is offline   Reply With Quote
 
Reply

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

« Map thread | It's getting real irritating. »

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 -4. The time now is 09:17 AM.



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