> 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/override-ai-spawner-spawn-area.md).

# Override AI Spawner Spawn Area

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-846959d41a795b1dc4c6e7548ed860648f726ecf%2Foverride-ai-spawner-spawn-area.png?alt=media)

## Description

Overrides the units on a given *AI Spawner* to return a *Squad Definition* that can be spawned with **Spawn Squad Through Definition***.* AI defined by the *AI Spawner* will spawn at the location of *Target Location AI Spawner.*

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input                      | Type   | Required | Description                                                                        |
| -------------------------- | ------ | -------- | ---------------------------------------------------------------------------------- |
| AI Spawner                 | Object | Yes      | The AI Spawner that will be overridden.                                            |
| Target Location AI Spawner | Object | Yes      | AI that spawn from the first input will spawn at the location of the second input. |

## Outputs

| Output           | Type             | Description                                                      |
| ---------------- | ---------------- | ---------------------------------------------------------------- |
| Squad Definition | Squad Definition | The squad definition from the AI spawner with overrides applied. |

\
\
**Contributors**

AddiCt3d 2CHa0s\
Okom\
Jordan9232
