Skip to content

five-on-it / packages/ai/src/police-swat / SWAT

Variable: SWAT ​

const SWAT: object

Defined in: packages/ai/src/police-swat.ts:73

The numbers of SWAT.

Type Declaration ​

againBreach ​

readonly againBreach: number

againTicks ​

readonly againTicks: number

Another van comes this long after one is gone (ticks).

behind ​

readonly behind: 1.5 = 1.5

The rifleman keeps this far behind the shield (m)…

boardReach ​

readonly boardReach: 3 = 3

The team walks back to the van and is gone within this (m) of it, or after this long (ticks).

boardTicks ​

readonly boardTicks: number

breachTicks ​

readonly breachTicks: number

A breach is given up this long after it began (ticks)…

cost ​

readonly cost: 6 = 6

What a SWAT van costs of the room's cap on police actors: the van, its driver and its four.

deployTicks ​

readonly deployTicks: number

All out, or this long after the doors opened (ticks), it advances.

doorReach ​

readonly doorReach: 20 = 20

A breach goes for a door within this of the player (m)…

driveTicks ​

readonly driveTicks: number

…or, slow, once it has driven this long (ticks), wherever it is.

enclosed ​

readonly enclosed: 6 = 6

exitEvery ​

readonly exitEvery: 20 = 20

The team gets out one after another this many ticks apart (four in about a second and a half with the doors).

flank ​

readonly flank: 4 = 4

…the grenadier and the breacher this far to either side of it (m), a step back.

flankBack ​

readonly flankBack: 1 = 1

flashInside ​

readonly flashInside: 3 = 3

…the flashbang goes in this far past the door (m)…

flashTicks ​

readonly flashTicks: number

…and the team goes in this long after it was thrown (ticks: its fuse, and a beat).

gasTicks ​

readonly gasTicks: number

…tear gas at one hiding in cover at most this often (ticks)…

heavyWaitTicks ​

readonly heavyWaitTicks: number

From seven stars the van comes this long after the heavy response was called (ticks), in what room it left.

kerb ​

readonly kerb: 1.8 = 1.8

It stops this far beyond a road's edge (m), its side off the carriageway.

leaveRange ​

readonly leaveRange: 60 = 60

leaveTicks ​

readonly leaveTicks: number

The van drives off and is gone this long after its team (ticks), or once this far from every player (m).

offLine ​

readonly offLine: number

…never within this of straight down the line they face or drive along (rad).

outsideTicks ​

readonly outsideTicks: number

…or once the player has been out of doors this long (ticks); another not before this (ticks).

roof ​

readonly roof: 30 = 30

A player is inside a building with a roof within this over their head (m)…

smokeFrom ​

readonly smokeFrom: 12 = 12

smokeTicks ​

readonly smokeTicks: number

…and smoke ahead of the team at most this often, at one with a rifle-class gun farther than this (m).

stackTicks ​

readonly stackTicks: number

…stacks there for this long at most (ticks)…

standOff ​

readonly standOff: 6 = 6

The shield stops this far short of where the player is (m).

stopMax ​

readonly stopMax: 40 = 40

stopMin ​

readonly stopMin: 25 = 25

The van stops this far from its player at least, at most, and preferably (m)…

stopPreferred ​

readonly stopPreferred: 32 = 32

stopReach ​

readonly stopReach: 4 = 4

It is at its stop within this (m) and this slow (m/s)…

stopSpeed ​

readonly stopSpeed: 1.5 = 1.5

throwRange ​

readonly throwRange: 25 = 25

The grenadier throws at a player within this (m)…

walls ​

readonly walls: 15 = 15

…and walls within this (m) on at least this many of eight sides.