# On Wave End

![](/files/4co0wW1CRCR1P85zDQ94)

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


---

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