This article's documentation is for anything that uses the Source engine. Click here for more information.

ent_remove

From Valve Developer Community
Revision as of 09:46, 25 August 2024 by Gameplayer (talk | contribs) (Created page with "{{this is a|console command|name=ent_remove}} This is used to remove entities from the game. Syntax: {{code|ent_remove [optional <targetname>/<classname>]}} == Usage =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ent_remove is a console command available in all Source Source games. This is used to remove entities from the game. Syntax: ent_remove [optional <targetname>/<classname>]

Usage

  • ent_remove
    • Remove entity the player is looking at right now
  • ent_remove npc_metropolice
    • Remove only one npc_metropolice from a map
  • ent_remove cupcop
    • Remove entity with targetname cupcop from the map

See also