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

# Factorio Runtime Docs Version 2.0.77

# ForceCondition - Runtime Docs

## ForceCondition :: union

#### Union members

`"all"` | All forces pass.
`"enemy"` | Forces which will attack pass.
`"ally"` | Forces which won't attack pass.
`"friend"` | Forces which are friends pass.
`"not-friend"` | Forces which are not friends pass.
`"same"` | The same force pass.
`"not-same"` | The non-same forces pass.

Concept used in

- LuaSurface::find_units()
- TriggerItem