Skip to content

five-on-it / packages/ai/src/police-cameras / cameraSighting

Function: cameraSighting() ​

cameraSighting(ai, eid): CameraSight | undefined

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

The first camera (the security cameras first, in the level's order, then the traffic cameras by junction) that sees a player, or undefined.

Parameters ​

ai ​

AiWorld

eid ​

number

Returns ​

CameraSight | undefined