> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced.md).

# AI Advanced

- [Ally Squad With FFA Player](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/ally-squad-with-ffa-player.md)
- [Assign AI Unit To Spawned Squad](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/assign-ai-unit-to-spawned-squad.md)
- [Assign Squad To Team](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/assign-squad-to-team.md)
- [Assign Squad To Zone](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/assign-squad-to-zone.md)
- [Get AI Character Type](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-ai-character-type.md)
- [Get All AI Spawners](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-all-ai-spawners.md)
- [Get Available AI Unit Count](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-available-ai-unit-count.md)
- [Get Is AI](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-is-ai.md)
- [Get Squad AI Unit Count](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-squad-ai-unit-count.md)
- [Get Squad Combat State](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-squad-combat-state.md)
- [Get Squad Definition AI Unit Count](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-squad-definition-ai-unit-count.md)
- [Get Squad Has Squad Label](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-squad-has-squad-label.md)
- [Get Squad Team](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-squad-team.md)
- [Get Squads From Spawner](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-squads-from-spawner.md)
- [Get Squads With Squad Label](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-squads-with-squad-label.md)
- [Is AI Unit Of Species](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/is-ai-unit-of-species.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
