# Get Squad Definition From AI Spawner

![](https://264187692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq39qopWeWNs74JJEWw4C%2Fuploads%2Fgit-blob-1b5fe5f7cc4ea168ae267551381061cc4b97dab5%2Fget-squad-definition-from-ai-spawner.png?alt=media)

## Description

Returns a squad definition from the *AI Spawner*, which contains unit and spawning data based off of the spawner's *Object Properties*. Optionally apply *Squad Overrides* before returning.

## 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 object used to retrieve the squad definition. |
| Squad Overrides | Squad Overrides | No       | The squad overrides to apply to the squad definition.        |

## Outputs

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

\
\
**Contributors**

Mr. Admirals\
AddiCt3d 2CHa0s
