# void AIBreakScript(int, int)

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

## Exact signature

```text
void AIBreakScript(int, int)
```

## Description

Routes an interruption request for the identified script to the specified player's AI system. Arguments are the player number followed by the script ID.

## Usage notes

The request is routed when the corresponding AI context exists. Immediate interruption and effects on pending scripts or tasks are not documented. The player-number check does not cover every invalid value; use valid player numbers.

## Parameters and return type

**Return type:** `void`

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

## Other overloads

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

- [`void AIBreakScript(int)`](/imperivm/en/CKS/reference/api-374ab22a2b4aef/)

## Read and share

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

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