# Override AI Spawner Spawn Area

![](https://264187692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq39qopWeWNs74JJEWw4C%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
