Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

aimShot

aimShot(world, shotAim): AimedShot | null

Aims a shot at the first thing the pointer’s ray meets past her: a target her middle sees past cover, or cover in front of one. Where it meets neither, a free cursor aims level with her middle and a crosshair at its range. The shot leaves her muzzle for that point, so it ends where the pointer shows at any distance; through the crosshair, a point less than muzzleLeadMetres past the muzzle, or a muzzle behind cover, sends it along the crosshair’s ray from abreast of her instead. With no muzzle, or where cover stands between her middle and either, it leaves her middle. Finds where the shot ends on this page’s picture, as far as her stats let the weapon reach. Null for a character with no place. Written in place: copy what is kept.

Parameter Type
world World
shotAim ShotAim

AimedShot | null