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

collectLoot

collectLoot(authority, source?): void

Loot its targets have reached goes into their bags as far as they fit, on the world authority decides outcomes on: the nearest first, then the next where the nearest target’s bag is full or the nearest target has none. A full bag never holds it from another. Loot in a match is reached by its members alone. The rest stays where it lies, and the entity goes once none is left. Pass the step as source in a system, so the overlap meets the bodies spawned earlier in it; the world is read as the last step left it otherwise.

Parameter Type
authority Authority
source? QuerySource

void