Skip to content

five-on-it / packages/ai/src/police-helicopter / HELICOPTER

Variable: HELICOPTER ​

const HELICOPTER: object

Defined in: packages/ai/src/police-helicopter.ts:53

The numbers of the police helicopter.

Type Declaration ​

againTicks ​

readonly againTicks: 2700 = 2700

…and another is sent this long after one is shot down (ticks: forty-five seconds).

cost ​

readonly cost: 3 = 3

What it costs of the room's cap on police actors.

fog ​

readonly fog: 0.5 = 0.5

Fog at least this thick grounds it (0..1)…

gain ​

readonly gain: 0.7 = 0.7

It closes on its station this fast, per metre still to go (1/s).

inbound ​

readonly inbound: 25 = 25

…flying in at this speed (m/s).

lag ​

readonly lag: 0.8 = 0.8

It keeps their speed times this behind its player (s)…

leaveRange ​

readonly leaveRange: 250 = 250

leaveTicks ​

readonly leaveTicks: 900 = 900

One no longer needed flies off and is gone after this long (ticks), or once this far from every player (m).

near ​

readonly near: 12 = 12

…at least this far, and at most this far (m).

rain ​

readonly rain: 0.6 = 0.6

…and so does rain at least this hard (a downpour, a storm).

roofReach ​

readonly roofReach: 8 = 8

The roofs this far around its station and its player are what it keeps above (m).

sight ​

readonly sight: 140 = 140

It sees this far (m, through the air): by day, or into its pool of light.

spawnBack ​

readonly spawnBack: 80 = 80

It is sent this far from its player, behind them (m).

stripAhead ​

readonly stripAhead: 70 = 70

…this far along the road the player is predicted to take (m)…

stripSpeed ​

readonly stripSpeed: 8 = 8

…while they drive at least this fast (m/s).

stripTicks ​

readonly stripTicks: 1200 = 1200

A nail strip dropped ahead at most this often (ticks: twenty seconds)…

trail ​

readonly trail: 30 = 30

wreckTicks ​

readonly wreckTicks: 1800 = 1800

Its wreck lies this long (ticks: thirty seconds)…