> 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/events-ai/on-wave-end.md).

# On Wave End

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

## Description

Event called when a wave from the Wave Manager ends. Also outputs the Victory Reason and Elapsed Time of the wave.

*Note: This is the default description for this node, but it does not output Elapsed Time.*

## Node Type

Nodes fall into two basic categories: Data and Execution. This Execution node fires when something happens in the game that triggers it, and starts off the node string.

## Inputs

| Input        | Type         | Required | Description                               |
| ------------ | ------------ | -------- | ----------------------------------------- |
| Wave Manager | Wave Manager | Yes      | The Wave Manager to monitor Wave End for. |

## Outputs

| Output         | Type           | Description                                               |
| -------------- | -------------- | --------------------------------------------------------- |
| Victory Reason | Victory Reason | Why the Wave ended. (Custom 1-8, Extermination, Duration) |
| Wave Type      | Wave Type      | Outputs Wave Type of the Wave.                            |

\
\
**Contributors**

AddiCt3d 2CHa0s
