User Tools

Site Tools


remove_entity

This is an old revision of the document!


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.1590422643.txt.gz · Last modified: 2020/05/25 09:04 by justin