> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-toolkit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-toolkit/features/ard-editor/3-ai-scripts.md).

# 3 : AI Scripts

Holds information about the AI scripts of a unit (foe, ally, npc, ...).

Every unit can be assigned up to 4 scripts via their [4 : Units](/the-insurgents-toolkit/features/ard-editor/4-units.md) section.

There is only one script running at a time for a unit. One script however can be used by one or more units.

Each script contains one or more groups which all have one or more entries. Each entry is executed in order. However the action of an entry can also be used to jump to another group.

The structure is very nested and almost all entries correlate with each other. Therefore it's very difficult to modify via Cheat Engine, but feel free to give it a go if you want to.

{% hint style="info" %}
For more information about the AI, you can view the spreadsheet in [Resources](/the-insurgents-toolkit/getting-started/resources.md).
{% endhint %}
