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

findDrawnTarget

findDrawnTarget(world, search): FoundTarget

The nearest entity with health the search’s test passes through and does not spare, each where this world draws it: a streamed one between the room’s last two snapshots, as the loop draws it; and the zone of it the ray meets first. One with no health left is not in the way, as findDrawnTargets judges it. The test’s feet, body, zones and turn are written for each. Written in place: read it at once.

Parameter Type
world World
search TargetSearch

FoundTarget