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


From Valve Developer Community
(Redirected from Ai drawbattlelines)
Jump to: navigation, search
English (en)

ai_battle_line is a point entity available in all Source Source games except Left 4 Dead series Left 4 Dead series.

English (en)
class hierarchy
CAI_BattleLine defined in ai_behavior_standoff.cpp
Standoff diagram.png

Battle lines are a part of the Standoff AI schedule. They instruct NPCs to try and stay behind it to a configurable degree. See Standoffs for more information about the use of ai_battle_line.


Cvar/CommandParameters or default valueDescriptorEffect
ai_drawbattlelines00 disables, 1 enablesWhen NPCs move to new positions, show any ground considered to be gained or lost.


  •  [1] : Use parent's orientation


Name (targetname) <string>
The targetname that other entities refer to this entity by.
Actor (actor) <target_name_or_class>
Actor(s) or squad to affect.
Active (Active) <boolean>
Strict (Strict) <boolean>
If true, players will not be able to order their allies to ignore the battle line by commanding them with impulse 50 (bound to C by default).


If the entity is not yet active, this input will activate it.
If the entity is not yet inactive, this input will turn it inactive.