Ai disable: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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 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.