getDroidLimit([player[, droid type]])
warzone 3.1 rc2 or above
Return maximum number of droids that a player can produce. This limit is usually fixed throughout a game and the same for all players. If no arguments are passed, returns general unit limit for the current player. If a second, droid type argument is passed, the limit for this unit type is returned, which may be different from the general unit limit (eg for commanders and construction droids).