Skip to content

five-on-it / packages/sim/src/doors / breachDoor

Function: breachDoor() ​

breachDoor(sim, eid, from): number

Defined in: packages/sim/src/doors.ts:159

A door breached (a SWAT team's breacher's ram, @foi/ai's police): unlocked whatever its lock, and swung open away from from, into the room behind it, with a door event (length the side it swung to, owner nobody). A gate or a barrier only opens. Returns the side.

Parameters ​

sim ​

SimWorld

eid ​

number

from ​

x ​

number

z ​

number

Returns ​

number