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

TomEdwards (talk | contribs) (→Structure: Better description) |
|||
Line 4: | Line 4: | ||
<center>[[Image:Standoff_diagram.png]]</center> | <center>[[Image:Standoff_diagram.png]]</center> | ||
Battle lines are a part of the [[Standoffs|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. | |||
See [[Standoffs]] for more information. | |||
==Entity Description== | ==Entity Description== |
Revision as of 00:59, 22 July 2005
Structure

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.
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