# On Any Wave End

![](/files/1lQpeA9vVA3esQIo4t5r)

## 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.thescriptersguild.com/scripting/nodes/events-ai/on-any-wave-end.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
