Skip to content

five-on-it / packages/ai/src/police-fittings / sendFitted

Function: sendFitted() ​

sendFitted(ai, w, eid, kind, hooks, at): boolean

Defined in: packages/ai/src/police-fittings.ts:268

The debug command's fitted cruiser: one sent behind the player (at) with the Grappler or a dart launcher, now; returns whether it came.

Parameters ​

ai ​

AiWorld

w ​

Wanted

eid ​

number

kind ​

"dart" | "grappler"

hooks ​

PoliceHooks

at ​

x ​

number

y ​

number

yaw ​

number

z ​

number

Returns ​

boolean