Ai battle line: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{wrongtitle|title=ai_battle_line}}
{{wrongtitle|title=ai_battle_line}}
==Structure==
<center>[[Image:Standoff_diagram.png]]</center>
NPCs follow the rules of engagement given them by an ai_goal_standoff. In addition, they will always stay behind any ai_battle_lines that apply to them. There is one standoff and any number of battle lines per force.
See [[Standoffs]] for more information.


==Entity Description==
==Entity Description==

Revision as of 16:23, 21 July 2005

Template:Wrongtitle

Structure

Standoff diagram.png

NPCs follow the rules of engagement given them by an ai_goal_standoff. In addition, they will always stay behind any ai_battle_lines that apply to them. There is one standoff and any number of battle lines per force. See Standoffs for more information.

Entity Description

Battle line

Keyvalues

  • actor
<target_name_or_class> Actor(s) or squad to affect
  • Active
<choices> Active
  • Strict
<choices> Player orders can override, applies to allies only


Flags

  • Use parent's orientation


Inputs

  • Kill
Removes this entity from the world.
  • KillHierarchy
Removes this entity and all its children from the world.
  • AddOutput <string>
Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
  • FireUser1-4
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
  • Activate
  • Deactivate


Outputs

See Also