five-on-it / packages/ai/src/police-swat / insideBuilding
Function: insideBuilding()
insideBuilding(
sim,eid):boolean
Defined in: packages/ai/src/police-swat.ts:282
Whether a person is inside a building: on foot, a roof over their head (scenery within SWAT.roof straight up) and walls round them (scenery within .walls on at least .enclosed of eight sides).
Parameters
sim
eid
number
Returns
boolean