# void AIStart(int, str, int)

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

## Exact signature

```text
void AIStart(int, str, int)
```

## Description

Validates a player, AI profile, and difficulty before replacing that player's AI controller.

## Parameters and return type

**Return type:** `void`

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

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`void AIStart(int)`](/imperivm/en/CKS/reference/api-fca013866cefad/)
- [`void AIStart(int, str)`](/imperivm/en/CKS/reference/api-3dbd0605ac02ca/)

## Read and share

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

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