# Ambush

## Overview

| Return Value                              | Function                          |
| ----------------------------------------- | --------------------------------- |
| [AmbushType](../custom-enums/ambushtype)? | [GetAmbushType](#getambushtype)() |

## Functions

### GetAmbushType()

[`AmbushType`](../custom-enums/ambushtype)`? GetAmbushType()`

Helper function to get the corresponding ambush type for the current room. Returns nil if the current room does not correspond to any particular ambush type
