Ai disable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleaned this wayyyy up. also, ai_network is an undocumented (but crucial) AI entity. do not remove it from here please.)
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:ai_disable}}
{{Console Command}}
The '''<code>ai_disable</code>''' console command is a debugging tool that allows you enable/disable the [[AI]] of all [[NPC]]s in the game. Disabled NPCs won't "think", but the rest of the game code continues to run. A message saying "A.I. Disabled..." should appear on the ingame view if this command is working.
The '''<code>ai_disable</code>''' console command is a debugging tool that allows you enable/disable the [[AI]] of all [[NPC]]s in the game. Disabled NPCs won't "think", but the rest of the game code continues to run. A message saying "A.I. Disabled..." should appear on the ingame view if this command is working.


Line 7: Line 7:
[[Category:Debugging]]
[[Category:Debugging]]
[[Category:AI Commands]]
[[Category:AI Commands]]
[[Category:Console Commands]]

Revision as of 14:46, 26 June 2023

Template:Console Command The ai_disable console command is a debugging tool that allows you enable/disable the AI of all NPCs in the game. Disabled NPCs won't "think", but the rest of the game code continues to run. A message saying "A.I. Disabled..." should appear on the ingame view if this command is working.

See also