five-on-it / packages/ai/src/police-swat / enlist
Function: enlist()
enlist(
ai,npc,role,team,client):void
Defined in: packages/ai/src/police-swat.ts:365
Makes an NPC a police specialist of a role: an officer (drawn in the team's black when it is one of a team), armed, with its orders.
Parameters
ai
npc
role
team
number
client
number
Returns
void