# bool WaitSettlementAllied(str, int, int)

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

## Exact signature

```text
bool WaitSettlementAllied(str, int, int)
```

## Description

Waits until a named settlement is not allied with a requested player or a finite timeout expires.

## Parameters and return type

**Return type:** `bool`

| Position | Type |
| --- | --- |
| 1 | `str` |
| 2 | `int` |
| 3 | `int` |

## Read and share

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

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