ai_battle_line
(Redirected from Ai drawbattlelines)
![English (en) English (en)](/w/images/3/37/Flag-en.png)
ai_battle_line
is a point entity available in all Source games except
Left 4 Dead series.
![English (en) English (en)](/w/images/3/37/Flag-en.png)
![]() |
---|
CAI_BattleLine defined in ![]() ai_behavior_standoff.cpp
|
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
.
Contents
ConVars/Commands
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
ai_drawbattlelines | 0 | 0 disables, 1 enables | When NPCs move to new positions, show any ground considered to be gained or lost. |
Flags
- [
1
] : Use parent's orientation
Keyvalues
- 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> - Self-explanatory.
- 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).
Inputs
Activate
- If the entity is not yet active, this input will activate it.
Deactivate
- If the entity is not yet inactive, this input will turn it inactive.