Skip to content

five-on-it / packages/ai/src/police-tells / PoliceTells

Interface: PoliceTells ​

Defined in: packages/ai/src/police-tells.ts:54

What a player is told of the police now.

Properties ​

camera ​

camera: boolean

Defined in: packages/ai/src/police-tells.ts:62

A camera sees them now.


drone ​

drone: boolean

Defined in: packages/ai/src/police-tells.ts:60

The drone sees them now.


lasers ​

lasers: object[]

Defined in: packages/ai/src/police-tells.ts:66

The marksmen painting them now: each one's entity and where it is (m, rounded).

eid ​

eid: number

x ​

x: number

y ​

y: number

z ​

z: number


light ​

light: boolean

Defined in: packages/ai/src/police-tells.ts:64

The helicopter's searchlight has them now.


marks ​

marks: object[]

Defined in: packages/ai/src/police-tells.ts:56

The minimap's marks.

kind ​

kind: PoliceMarkKind

x ​

x: number

z ​

z: number


radio ​

radio: object[]

Defined in: packages/ai/src/police-tells.ts:58

The radio's last lines they hear, oldest first.

kind ​

kind: "camera" | "apc" | "grounded" | "roadblock" | "rolling" | "drone" | "helicopter" | "sniper" | "dispatch" | "greenWave" | "droneDown" | "escalation" | "strip" | "cannon" | "boats" | "tagged"

n ​

n: number

place? ​

optional place?: string

stars? ​

optional stars?: number


tracked ​

tracked: boolean

Defined in: packages/ai/src/police-tells.ts:68

The car they sit in carries a GPS tag.