Im making a sort of zombie survival/defence kind of map and I've stumbled on to a problem:
I've got a couple of triggers to spawn zerglings in random points of a region every <ammount of time> untill they reach a limit of 10 zerglings in the region.
The problem is I have no idea how to stop them from spawning if there are any player controlled units in that region. Ive tried using the "unit leaves region" event(but i'd need something like "all player 1's units leave region") and played around with conditions but to no avail.
Any suggestions?
Also - not to make another thread:
I'd like to make a resource transport system - miners mine minerals(got this done), carry them to a truck(that can only carry a certain ammount of resources) and this truck then carries the resource to a drop-off(command center). So far I've only been able to turn a flatbed into a mobile resource drop-off so any help on that subject would be greatly apreciated..
I've got a couple of triggers to spawn zerglings in random points of a region every <ammount of time> untill they reach a limit of 10 zerglings in the region.
The problem is I have no idea how to stop them from spawning if there are any player controlled units in that region. Ive tried using the "unit leaves region" event(but i'd need something like "all player 1's units leave region") and played around with conditions but to no avail.
Any suggestions?
Also - not to make another thread:
I'd like to make a resource transport system - miners mine minerals(got this done), carry them to a truck(that can only carry a certain ammount of resources) and this truck then carries the resource to a drop-off(command center). So far I've only been able to turn a flatbed into a mobile resource drop-off so any help on that subject would be greatly apreciated..