Skip to content

five-on-it / packages/ai/src/police-radio / radioSay

Function: radioSay() ​

radioSay(book, tick, line): RadioEntry

Defined in: packages/ai/src/police-radio.ts:101

Says a line on the radio (see the module documentation); the book keeps the last few.

Parameters ​

book ​

PoliceBook

tick ​

number

line ​

client ​

number

kind ​

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

place? ​

string

stars? ​

number

x ​

number

z ​

number

Returns ​

RadioEntry