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

No edit summary |
|||
Line 4: | Line 4: | ||
<center>[[Image:Standoff_diagram.png]]</center> | <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. | 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. | See [[Standoffs]] for more information. | ||
Revision as of 16:25, 21 July 2005
Structure

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