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

releaseSavedEntity

releaseSavedEntity(authority, player, savedEntityKeyOptions?): void

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

Parameter Type
authority EntityAuthority
player Entity
savedEntityKeyOptions SavedEntityKeyOptions

void