> 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/game-mode-firefight/override-ai-spawner.md).

# Override AI Spawner

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

## Description

Overrides the units on the given AI Spawner spawner with a squad definition from the Firefight enemy tables. Higher Difficulty and/or higher Intensity will produce harder squads. Works in any game mode.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node listens for an Event, then triggers it's node string.

## Inputs

| Input           | Type       | Required | Description                         |
| --------------- | ---------- | -------- | ----------------------------------- |
| AI Spawner      | AI Spawner | Yes      | Which AI Spawner to override.       |
| Squad Tier      | Number     | Yes      | Squad health and damage level (1-5) |
| Squad Intensity | Number     | Yes      | Squad attack level (1-3)            |

## Outputs

| Output           | Type             | Description                                               |
| ---------------- | ---------------- | --------------------------------------------------------- |
| Squad Definition | Squad Definition | New squad definition for the AI Spawner in the input pin. |

\
\
**Contributors**

AddiCt3d 2CHa0s
