Ai disable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Console Command}}
{{Console Command|AI Commands}}
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 6: Line 6:


[[Category:Debugging]]
[[Category:Debugging]]
[[Category:AI Commands]]

Revision as of 13:11, 28 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