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

Ai disable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{wrongtitle|title=ai_disable}}
{{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 NPCs 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]]

Latest revision as of 12:02, 30 June 2024

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