Npc viewcone

From Valve Developer Community
Revision as of 08:30, 1 February 2011 by MossyBucket (talk | contribs) (Created page with 'thumb|The npc_viewcone of this [[npc_zombie makes it clear that the player is currently outside its viewcone.]] A console co…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The npc_viewcone of this npc_zombie makes it clear that the player is currently outside its viewcone.

A console command that will display viewcones of NPCs. Two big red arrows indicate the boundaries of the viewcone, while a thinner yellow arrow indicates where the NPC is looking.

This command takes an <npc_targetname> or an <npc_classname> as its argument. If no argument is specified it picks the NPC that the player is looking at (the crosshair !picker).

Note.pngNote:This command does not indicate how far the NPC can see.

This Console command requires sv_cheats set to 1 and then developer set to 1.


See also