Difference between revisions of "Ai disable"

From Valve Developer Community
Jump to: navigation, search
m
(cleaned this wayyyy up. also, ai_network is an undocumented (but crucial) AI entity. do not remove it from here please.)
 
Line 1: Line 1:
 
{{DISPLAYTITLE:ai_disable}}
 
{{DISPLAYTITLE: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.
 
 
 
 
 
==Usage==
 
* <code>ai_disable</code>
 
** Toggles the enabled/disabled state of the AI.
 
 
 
  
 
==See also==
 
==See also==
 
+
*{{ent|ai_network}}
General AI
 
*[[ent_text]]
 
*[[npc_select]], [[npc_go]], [[npc_task_text]], [[npc_destroy]], [[npc_destroy_unselected]], [[npc_kill]], [[npc_enemies]], [[npc_focus]], [[npc_freeze]], [[npc_squads]], [[npc_viewcone]]
 
*[[npc_create]], [[npc_create_equipment]], [[npc_create_aimed]]
 
 
 
Navigation
 
*[[npc_route]], [[npc_bipass]]
 
 
 
Node debugging
 
*[[ai_show_connect]], [[ai_show_hull]], [[ai_next_hull]], [[ai_show_connect_jump]], [[ai_show_connect_fly]], [[ai_show_hints]], [[ai_show_visibility]]
 
 
 
  
 
[[Category:Debugging]]
 
[[Category:Debugging]]
 
[[Category:AI Commands]]
 
[[Category:AI Commands]]
 
[[Category:Console Commands]]
 
[[Category:Console Commands]]

Latest revision as of 11:33, 14 July 2018

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