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

ai_disable

From Valve Developer Community
Jump to: navigation, search

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