five-on-it / packages/ai/src/profiles / policeProfile
Function: policeProfile()
policeProfile(
stars,lethal?):BehaviourProfile
Defined in: packages/ai/src/profiles.ts:335
The police officer at so many stars: at one, the preset (it tails, boxes in, arrests, never shoots); from two, it rams and spins the car and boosts; at three, a crew of two that pulls up, gets out and shoots: the pistol once the player has used lethal force on the police (lethal), the taser until then (M7, non-lethal pays).
Parameters
stars
number
lethal?
boolean = true