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

releaseSavedEntity

releaseSavedEntity(authority, player, savedEntityOptions?): void

Stops player’s save keeping the entity saved as savedAs, main where none is named: it is captured into the player’s record first, and the name keeps that record until another entity is saved as that name. The entity stays in the world. Takes what setSavedEntity takes; a name with no entity changes nothing.

Parameter Type
authority EntityAuthority
player Entity
savedEntityOptions SavedEntityOptions

void