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

npc_squads

From Valve Developer Community
Revision as of 13:29, 17 September 2024 by Gameplayer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

npc_squads is a console command available in all Source Source games. It shows what squads all NPCs belong to, what are their enemies and how much health they have. npc_combat command is a clone of npc_squads command.

Note.pngNote:The game must be in Developer mode for this command to work properly.

Wildcard supported syntax:

npc_squads/npc_combat <classname>/<targetname>/<entity index>

See also