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)
 
(Removed redirect to Player Squads)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Player Squads]]
{{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.
 
{{devreq}}
Wildcard supported syntax:
{{pre|bgcolor=white|txtcolor=black|npc_squads <[[classname]]>/<[[targetname]]>/<[[entity index]]>}}

Revision as of 13:20, 17 September 2024

npc_squads is a console command available in all Source Source games. It shows what squads all NPCs belong to. Debug overlays are displayed for all NPCs not just for those who are in a squad.

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

Wildcard supported syntax:

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