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

Weapon

Weapon(props): Element | null

Arms every player in the world with a weapon, which the room holds each of her shots to; a character whose HeldWeaponsTrait leaves it out fires none. On a page, a click that does not turn the camera fires it from the middle of her body toward what is under the pointer: the tracer, and a hit marker where her picture shows a hit, draw at once, a critical one where it strikes a zone, and the room’s word arrives as the target’s health. A refusal from the room takes the marker back, and the room’s verdict on the zone sets whether it stays critical. Where the page judges the weapon, the shot claims the hits her picture shows. With no room, the page deals the damage itself.

Parameter Type
props WeaponProps

Element | null