Language

Map.removeEntity


Map.removeEntity(string entityname)

Description

Removes the entity named entityname. If the entity was created in the editor, it will just be desactivated, like setActive(false). Otherwise, if the entity was created during gameplay in script.lua, the entity will be really removed from the map.

Parameters

entityname
The name of the entity to be removed.