Skip to main content

Execute_DespawnGameObject

Description

Removes (destroys) the BaseObject from the world. If the BaseObject is a CarriableObject placed on a site, also updates the site's pathfinding grid.

Parameters

ParameterDescription
BaseObjectThe game object to remove from the world

Examples

DescriptionBaseObjectCommand
Remove the target object from the worldTargetDespawnGameObject
Remove Self object from the worldSelfDespawnGameObject