User Tools

Site Tools


remove_entity

Remove Entity


Permanently removes the specified entity from the map.

Signature:

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

Example:

remove_entity(entity["key_01"]);

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

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: 2021/04/21 18:40 by justin