Skip to content

ScoutingReport beta ​

Interface of @v12-engine/engine/ai

ts
export interface ScoutingReport

The scouting as the report shows it (AiReport.scouting): the plan of looks with how old each is, the scout, where it goes

Members ​

going ​

ts
going?: [number, number][];

The places the scout is going to, in order, in cells

looks ​

ts
looks: {
        at: [number, number];
        kind: Look['kind'];
        seen?: number;
        due: boolean;
    }[];

The plan of looks, each with where, its kind, how many seconds ago it was seen and whether it is due

rounds ​

ts
rounds: number;

How many rounds of looks were sent

scout ​

ts
scout?: number;

The entity id of the unit that scouts; nothing when there is none