Npc destroy unselected

From Valve Developer Community
Revision as of 06:49, 9 July 2005 by Robin Walker (talk | contribs) (Created.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Wrongtitle

The npc_destroy_unselected console command is a debugging tool that destroys all unselected NPCs. To select NPCs, use the npc_select command. Destroyed NPCs are silently removed, so outputs such as "OnDamaged" and "OnDeath" are not fired, nor are ragdolls created. Destroyed NPCs carrying weapons will drop the weapon before removing themselves.


Usage

  • npc_destroy_unselected
    • This will destroy all selected NPCs.


See also