> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/library-functions/statistic/statistic.unitsdestroyed.md).

# Statistic.UnitsDestroyed

## `Statistic.UnitsDestroyed(partei)`

Gibt die Anzahl an eliminierten gegnerischen Einheiten zurück

#### Rückgabewert

Anzahl

#### Beispiel

```lua
Statistic.UnitsDestroyed(1)
```
