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
(Removed redirect to Player Squads)
Tag: Removed redirect
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{this is a|console command|name=npc_squads}} It shows what squads all NPCs belong to. [[Debug overlays]] are displayed for all NPCs not just for those who are in a squad.
{{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}}
{{devreq}}
Wildcard supported syntax:
Wildcard supported syntax:
{{pre|bgcolor=white|txtcolor=black|npc_squads <[[classname]]>/<[[targetname]]>/<[[entity index]]>}}
{{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