> 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-waves/wave.md).

# Wave

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

## Description

Define a wave of AI units that spawn from a Spawner List. The wave will end once all units are killed or, if the Duration is non-zero, when enough seconds have passed. The Spawner List can be left blank for an Intermission wave which spawns no units.

## Node Type

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

## Inputs

| Input               | Type         | Required | Description                                                                                                                     |
| ------------------- | ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Wave Type           | Wave Type    | Yes      | Defines what Type the Wave is.                                                                                                  |
| AI Spawner List     | Object List  | No       | List of AI Spawners that the Wave will trigger.                                                                                 |
| Duration In Seconds | Number       | Yes      | If not 0, timer will start when Wave starts, and Wave will end when time is up.                                                 |
| Wave Options        | Wave Options | Yes      | Defines Wave Options for the Wave. (Incoming Messaging, Outgoing Messaging, Delay Spawn Until Budget, Extermination Percentage) |

## Outputs

| Output | Type | Description                                           |
| ------ | ---- | ----------------------------------------------------- |
| Wave   | Wave | Outputs a Wave with all options defined by this node. |

\
\
**Contributors**

AddiCt3d 2CHa0s
