Skip to content

ScoutingOptions beta ​

Interface of @v12-engine/engine/ai

ts
export interface ScoutingOptions

How a brain scouts (BrainDef.scouting, the seat's AiOptions.scouting over it, the scouting() module's own under both). Data, but for the function form of scout

Members ​

army ​

ts
army?: boolean;

Whether where their army was last seen is looked at again: yes when left out

expansions ​

ts
expansions?: boolean;

Whether the mines they would expand to are looked at: yes when left out

flyers ​

ts
flyers?: boolean;

Whether a flying unit with nothing to do goes before the fastest on foot: yes when left out

from ​

ts
from?: number;

Seconds into the game before the first look: 15 when left out

lookEvery ​

ts
lookEvery?: number;

Seconds a place stays out of sight before it is worth a look again: 90 when left out

scout ​

ts
scout?: false | ((ai: Brain) => Vec2[]);

Where to look: false nowhere (the goal is left out), a function for places of the game's own each think (in place of the kit's plan). The kit's plan when left out