five-on-it / packages/ai/src/police-snipers / SNIPERS
Variable: SNIPERS
constSNIPERS:object
Defined in: packages/ai/src/police-snipers.ts:95
The snipers' numbers.
Type Declaration
againTicks
readonlyagainTicks:1800=1800
A sniper shot down is replaced after this long (ticks: thirty seconds), its body taken away then.
apart
readonlyapart:6=6
Two snipers stand at least this far apart (m).
edge
readonlyedge:0.6=0.6
How far in from a roof's edge a sniper stands (m): right at it, to see down past it.
eye
readonlyeye:0.6=0.6
Where a sniper's eye is over its centre (m).
minHeight
readonlyminHeight:6=6
A roof at least this high over the ground the player stands on (m).
reach
readonlyreach:150=150
A roof this near the player (m, over the ground) is one a sniper takes.