Ai battle line

From Valve Developer Community
Jump to navigation Jump to search

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