# Current Harvester Count

FlagsNative | Function

Returns the current harvester count for this unit. The number of workers that are harvesting to/from the given unit.

# Arguments

  • unit — ParamDef/Name/lib_Ntve_FBF2C5DF

Returns — int

native int UnitCurrentWorkerCount(unit inUnit);

Category: Unit / Basic

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L4279
UnitCurrentWorkerCount(lp_resourceNodeorTownHall)