i want to create a danw of war like map.
my problem is:
How to make that you can make a specific unit typ just 5 times.
I mean the unit limit for that unit. You can just have 5 ones of that unit.
I tryed to get how the requirement for the mothership works but i didnt get it.
in wc3 it was so easy : Limit training of unit (my unit) to 5
how to do it in sc2?
I have to say that im german. I hope u can understand my english
i dunno how the mothership works but you could probably do a requirement (i assume that's how they did it)
make a requirement that counts the number of a given unit and only allow it to be used when the number is less then 6
another way (if you want to know how many you can make) is make the building have 5 charges of the unit build using charges. then set a trigger to add a charge anytime 1 of that unit type dies. just make sure you take into account multiple buildings if you have more then one structure but a 5 unit limit overall for the player.
the requirement is probably easier and a better fit though.
You can just look at the 'Build Interceptor' ability and copy that for the 'Build X' abilities you want to change.
It should be listed under the requirements section.
But you don't want to do this with triggers, because it would end up being so messy.
Hi all
i want to create a danw of war like map. my problem is: How to make that you can make a specific unit typ just 5 times. I mean the unit limit for that unit. You can just have 5 ones of that unit.
I tryed to get how the requirement for the mothership works but i didnt get it. in wc3 it was so easy : Limit training of unit (my unit) to 5 how to do it in sc2?
I have to say that im german. I hope u can understand my english
@fate1990: Go
i dunno how the mothership works but you could probably do a requirement (i assume that's how they did it)
make a requirement that counts the number of a given unit and only allow it to be used when the number is less then 6
another way (if you want to know how many you can make) is make the building have 5 charges of the unit build using charges. then set a trigger to add a charge anytime 1 of that unit type dies. just make sure you take into account multiple buildings if you have more then one structure but a 5 unit limit overall for the player.
the requirement is probably easier and a better fit though.
You can just look at the 'Build Interceptor' ability and copy that for the 'Build X' abilities you want to change. It should be listed under the requirements section.
But you don't want to do this with triggers, because it would end up being so messy.
@margeman2k3: Go
i dont know how to do that with requriements can oyu help me with that pls?