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

Ai disable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo revision 371945 by PeeBot (talk))
Tag: Undo
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Console command|AI commands}}
{{this is a|console command|name=ai_disable}}
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]]

Latest revision as of 12:02, 30 June 2024

ai_disable is a console command available in all Source Source games. 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