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

Npc squads: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Npc squads moved to Player Squads)
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Player Squads]]
{{this is a|console command|name=npc_squads}} It shows what squads all NPCs belong to, what are their enemies and how much health they have. {{code|npc_combat}} command is a clone of {{code|npc_squads}} command.
 
{{devreq}}
Wildcard supported syntax:
{{pre|bgcolor=white|txtcolor=black|npc_squads/npc_combat <[[classname]]>/<[[targetname]]>/<[[entity index]]>}}
==See also==
* [[Debug overlays]]

Latest revision as of 13:29, 17 September 2024

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