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

ai_disable

From Valve Developer Community
Revision as of 12:02, 30 June 2024 by Pee (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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