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

fireCommandDeclaration

const fireCommandDeclaration: CommandDeclaration<{ from: Vector3CommandField; throughCrosshair: BooleanCommandField; toward: Vector3CommandField; weapon: OneOfCommandField<string>; }, RoomJudges, undefined, true, false, false, false>

The command weapons() declares, reached as weapons.commands.fire: <Weapon>’s shot in a game played alone, the ray through the player’s pointer that the step aims along, and the weapon it names. Sixty a second, the most a command may take, past a burst of sixteen: a weapon that fires faster alone has its extra shots refused, and its trigger takes back their hit markers. The weapon’s own rate holds it below.