# int MilUnits(int)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int MilUnits(int)
```

## Description

Counts eligible military units for a one-based player through the squad collection helper.

## Parameters and return type

**Return type:** `int`

| Position | Type |
| --- | --- |
| 1 | `int` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-b8c1a0feb1099d.md)
- [JSON](/imperivm/CKS/api/entries/api-b8c1a0feb1099d?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
