Skip to content

five-on-it / packages/ai/src/police / radioSighting

Function: radioSighting() ​

radioSighting(ai, w, eid, from): void

Defined in: packages/ai/src/police.ts:358

The radio net (GAME_DESIGN §12): a sighting of a wanted player by one of the police's eyes (from) reaches every unit after them. Where they are is known again (the clocks of cooling down and of losing the police start over), every officer of those units has them as its target and chases; a camera's sighting is said on the radio. Every sighting goes through here, so a jammer that cuts the radio cuts it here.

Parameters ​

ai ​

AiWorld

w ​

Wanted

eid ​

number

from ​

SightSource

Returns ​

void