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
No edit summary
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 <[[classname]]>/<[[targetname]]>/<[[entity index]]>}}
==See also==
* [[Debug overlays]]

Revision as of 13:26, 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 <classname>/<targetname>/<entity index>

See also