five-on-it / packages/ai/src/system / addHire
Function: addHire()
addHire(
ai,eid,kind,client):NpcState
Defined in: packages/ai/src/system.ts:656
Makes a spawned character a hired hand (crew-hire.ts) of a kind, for the player client: an NPC with the seat bots' crew profile (the pistol, out of the window too). Returns its state.
Parameters
ai
eid
number
kind
"driver" | "gunner" | "hacker"
client
number