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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
target |
Entity |
targetSearch |
Omit<TargetSearch, "test"> |
Returns
Section titled “Returns”boolean