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
No edit summary
m (Replacing {{console command}}. This operation was performed by a bot.)
Line 1: Line 1:
{{Console command|AI commands}}
{{this is a|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.



Revision as of 17:33, 7 January 2024

This 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