# Ideal Harvester Count

FlagsNative | Function

Returns the ideal harvester count for this unit. The recommended number of workers that should be harvesting to/from the given unit.

# Arguments

  • unit — Unit

Returns — int

native int UnitIdealWorkerCount(unit inUnit);

Category: Unit / Basic

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L4279
UnitIdealWorkerCount(lp_resourceNodeorTownHall)