Enemies Search
public sealed class EnemiesSearch : UnitLogicModule
Searches for enemy targets for the unit’s Attack module — something like a basic AI for the unit. Runs on a short timer, checking the attack radius for enemies and, if a suitable one is found, marks it as the target to attack.
Also searches a wider radius for “bait” targets — enemies which cannot be attacked yet but might become reachable soon (for example, an air unit which could later fly into range).
Created automatically for any unit which has an attack module.