Ai battle line: Difference between revisions
Jump to navigation
Jump to search

Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{language subpage → {{langsp) |
(Preparing page for move. This action was perfomed by a bot under supervision.) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of | {{langsp}} | ||
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of , please move {{this is a}} to the base page, as it is automatically translated. -->[[File:Standoff diagram.png|frame|right]] | |||
Battle lines are a part of the Standoff [[:Category:AI|AI]] schedule. They instruct [[NPC]]s to try and stay behind it to a configurable degree. See [[Standoffs]] for more information about the use of <code>ai_battle_line</code>. | |||
{{note|This entity is not present in {{l4d}}{{l4d2}}.}} | {{note|This entity is not present in {{l4d}}{{l4d2}}.}} | ||
Line 27: | Line 28: | ||
==Outputs== | ==Outputs== | ||
{{O BaseEntity}} | {{O BaseEntity}} | ||
Revision as of 09:45, 12 January 2024


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
.
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
- Actor (actor) ([todo internal name (i)]) <target_name_or_class>
- Actor(s) or squad to affect.
- Strict (Strict) ([todo internal name (i)]) <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.