Skip to content

TargetPicker beta ​

TypeAlias of @v12-engine/engine/ai

ts
export type TargetPicker = (ai: Brain, squad: Squad, foes: UnitSet) => EntityState | undefined;

Who a squad hits, in code (MicroOptions.targets): of the foes in its fight, the one; nothing to leave the units to themselves this time