ent_remove_all
ent_remove_all
is a console command available in all Source games. This is used to remove all entities of specific classname or targetname from the current map. Syntax: ent_remove_all [<targetname>/<classname>]
Usage
ent_remove_all npc_zombie
- Remove all npc_zombie entities from the current map
ent_remove_all citizen_passerby
- Remove all entities with targetname
citizen_passerby
from the map. If onlynpc_citizen
entities have this targetname,npc_citizen
entities with other targetnames will not be removed.
- Remove all entities with targetname