# int AllyVillages(int)

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

## Exact signature

```text
int AllyVillages(int)
```

## Description

AllyVillages counts BaseVillage settlements with numeric relation different from four.

## Parameters and return type

**Return type:** `int`

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

## Read and share

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

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