> 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-any-wave-end.md).

# On Any Wave End

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

## Description

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

## 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 |
| ----- | ---- | -------- | ----------- |
| N/A   | N/A  | N/A      | N/A         |

## Outputs

| Output         | Type           | Description                                               |
| -------------- | -------------- | --------------------------------------------------------- |
| Wave Manager   | Wave Manager   | Which Wave Manager this Wave belongs to.                  |
| 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
