|  |
|  |
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. |
| | | | Sponsored Links |
08-10-2004, 08:16 PM
|
#2 (permalink)
| BattleForums Addict
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 : ) |
| |
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 |
| |
08-10-2004, 09:31 PM
|
#4 (permalink)
| BattleForums Senior Member
Join Date: May 2003 Age: 21 Posts: 4,400
| isnt there like
if there is 66 units at location
then kill 1 unit? |
| |
08-10-2004, 11:06 PM
|
#5 (permalink)
| Drives an Evo IX ;)
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 |
| |
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 |
| |
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" |
| |
08-11-2004, 02:18 AM
|
#8 (permalink)
| Drives an Evo IX ;)
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 |
| |
08-11-2004, 02:44 AM
|
#9 (permalink)
| BattleForums Senior Member
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. |
| |
08-11-2004, 05:07 AM
|
#10 (permalink)
| BattleForums Senior Member
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. |
| |
08-11-2004, 05:56 AM
|
#11 (permalink)
| Dungeon Master
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. |
| |
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.
|
| |
08-11-2004, 12:59 PM
|
#13 (permalink)
| BattleForums Addict
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 : ) |
| | | |  | | Get rid of all these ads! Take 30 seconds to register. |