This article's documentation is for anything that uses the Source engine. Click here for more information.


From Valve Developer Community
Jump to: navigation, search
Blank image.pngTodo: Deprecated template {{Console variable}} was used. Please update to {{this is a}}. Text may appear informal at the moment

ai_debug_los is a console variable available in all Source Source games. A cvar 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