five-on-it / packages/ai/src/police-tells / PoliceTells
Interface: PoliceTells
Defined in: packages/ai/src/police-tells.ts:78
What a player is told of the police now.
Properties
camera
camera:
boolean
Defined in: packages/ai/src/police-tells.ts:86
A camera sees them now.
drone
drone:
boolean
Defined in: packages/ai/src/police-tells.ts:84
The drone sees them now.
k9?
optionalk9?:"scent"|"lost"
Defined in: packages/ai/src/police-tells.ts:96
A police dog after them: on their scent, or lost.
lasers
lasers:
object[]
Defined in: packages/ai/src/police-tells.ts:90
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:88
The helicopter's searchlight has them now.
marks
marks:
object[]
Defined in: packages/ai/src/police-tells.ts:80
The minimap's marks.
kind
kind:
PoliceMarkKind
x
x:
number
z
z:
number
radio
radio:
object[]
Defined in: packages/ai/src/police-tells.ts:82
The radio's last lines they hear, oldest first.
kind
kind:
"camera"|"swat"|"apc"|"grounded"|"roadblock"|"rolling"|"drone"|"helicopter"|"sniper"|"k9"|"dispatch"|"greenWave"|"droneDown"|"escalation"|"strip"|"cannon"|"boats"|"tagged"|"megaphone"|"breach"|"k9Lost"|"negotiator"
n
n:
number
place?
optionalplace?:string
stars?
optionalstars?:number
talk?
optionaltalk?:object
Defined in: packages/ai/src/police-tells.ts:94
The negotiator's call, while a talk is on: ringing or talking, its seconds left, the choices still on offer.
car
car:
boolean
seconds
seconds:
number
state
state:
"ringing"|"talking"
time
time:
boolean
tracked
tracked:
boolean
Defined in: packages/ai/src/police-tells.ts:92
The car they sit in carries a GPS tag.