Skip to main content

Module distraction

Module distraction 

Source

Constants§

BY_ANYTHING
Attack closer enemy entities, including entities “built” by player (belts, inserters, chests).
BY_DAMAGE
Attack when attacked.
BY_ENEMY
Attack closer enemy entities with force.
NONE
Perform command even if someone attacks the unit.