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

addCarrier

addCarrier(writer, entity, carrierOptions): void

Gives entity a carrier, or changes the one it has, as every character gets one from carrying(). A carrier never holds a store as well. Its first good gives it the world’s next custody id, so two carts, or two bodies of one player, never share one.

Parameter Type
writer EntityAuthority
entity Entity
carrierOptions CarrierOptions

void