Factorio Runtime DocsVersion 2.0.62

LuaSegmentedUnitCreatedEventFilter :: table

Table fields

filter :: "name" or "cause"

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

cause

cause :: defines.segmented_unit_created_cause

The cause of the event.

The cause of the event.


Concept used in

Classes

Concepts

Events

Defines