Skip to content

ScoutingMemory beta ​

Interface of @v12-engine/engine/ai

ts
export interface ScoutingMemory

What the scouting remembers between thinks, as a save keeps it

Members ​

lost ​

ts
lost?: {
        at: Vec2;
        tick: number;
    }[];

Places a scout was lost on the way to, and when: not due again for lookEvery seconds, as if looked at (a lost scout says as much: what guards it is there). Never the same unit sent to die at their towers over and over (AI1)

round ​

ts
round?: Vec2[];

The places of the round the scout is on, while it is

rounds ​

ts
rounds: number;

Rounds sent

scout ​

ts
scout?: number;

The unit that scouts, while it lives: the same one goes on to the next round

v ​

ts
v: 1;

The version of the memory's format: 1 so far