ai_battle_line
Jump to navigation
Jump to search
Code classes:
CAI_BattleLine
CBaseEntity
(all ents)
ai_battle_line
is a point entity present in all games except the Left 4 Dead games. Battle lines are part of the standoff AI behavior. They instruct NPCs to try and stay behind it, though they'll may disobey it. Hint groups are also very helpful.
Note: In , an ERROR model is shown in place of a missing Half-Life 2 model. The entity should still work as normal.
Flags[edit | edit source]
- 1: Use parent's orientation
Keyvalues[edit | edit source]
- 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[edit | edit source]
- Activate
- Makes the entity active if it wasn't already.
- Deactivate
- Makes the entity inactive if it wasn't already.
See Also[edit | edit source]
- Standoffs on VDC