User Tools

Site Tools


remove_entity

Remove Entity


Permanently removes the specified entity from the scene.

Signature:

remove_entity(entity)
ArgumentDescriptionTypeRequired
entityThe entity to remove from the scene.EntityYes

Example:

remove_entity(entity["key01"])

Results: The entity with an ID of “key01” is permanently removed from the scene.

Use the Remove Entity function to remove characters that have exited during a cutscene or as a way for the player to “collect” objects from the scene (i.e. item pickups).


Editor Node:

Visual Demo:

remove_entity.txt · Last modified: 2018/03/16 09:47 by justin