Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# LuaSegmentedUnitDiedEventFilter - Runtime Docs

## LuaSegmentedUnitDiedEventFilter :: table

#### Table fields

filter | :: `"name"` | The condition to filter on.
The condition to filter on.
mode | :: `"or"` or `"and"`? | How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
How to combine this with the previous filter. Defaults to `"or"`. When evaluating the filters, `"and"` has higher precedence than `"or"`.
invert | :: boolean? | Inverts the condition. Default is `false`.
Inverts the condition. Default is `false`.

Other attributes may be specified depending on `filter`:

#### `name`

name | :: string | The prototype name
The prototype name

Concept used in

- EventFilter