ai_disable

From Valve Developer Community
Revision as of 11:33, 14 July 2018 by Pinsplash (talk | contribs) (cleaned this wayyyy up. also, ai_network is an undocumented (but crucial) AI entity. do not remove it from here please.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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