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

isSpared

isSpared(world, target, targetSearch): boolean

Whether a shot from shooter passes through target: it never hits the shooter. One that died and still lies down is not in the way, healed since or not. A target its hit would spare by the team question, an ally while friendly fire is off, is passed through; the search’s own passes says the rest. With no teams(), a player’s shot passes through every other player’s character, as through a teammate.

Parameter Type
world World
target Entity
targetSearch Omit<TargetSearch, "test">

boolean