Ai debug los: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Grammarized)
No edit summary
Line 1: Line 1:
{{CVar}}
A [[Developer Console|console]] variable that is used to inspect what (apart from ordinary world brushes) blocks [[line of sight]] for [[NPC]]s. When active, these obstructions will be highlighted with white bounding boxes.
A [[Developer Console|console]] variable that is used to inspect what (apart from ordinary world brushes) blocks [[line of sight]] for [[NPC]]s. When active, these obstructions will be highlighted with white bounding boxes.


Line 13: Line 14:
* [[Visibility optimization]]
* [[Visibility optimization]]
* [[Tool textures]]
* [[Tool textures]]
[[Category:Console Variables]]

Revision as of 13:57, 27 June 2023

Template:CVar A console variable that is used to inspect what (apart from ordinary world brushes) blocks line of sight for NPCs. When active, these obstructions will be highlighted with white bounding boxes.


ai_debug_los 0
Do not highlight anything. (Default)
ai_debug_los 1
Highlights all things that currently block line of sight.
ai_debug_los 2
Highlights all things that can potentially block line of sight as well (like disabled brushes that can be enabled).

This variable is a cheat.


See also