Skip to content

five-on-it / packages/sim/src/griefing / bodyInSafeZone

Function: bodyInSafeZone() ​

bodyInSafeZone(sim, eid): boolean

Defined in: packages/sim/src/griefing.ts:91

Whether an entity's body stands in a safe zone (false for one without a body).

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

boolean