ai_goal_fightfromcover
Jump to navigation
Jump to search
Code classes:
CAI_FightFromCoverGoal
CAI_GoalEntity
(AI goals)CBaseEntity
(all ents)
ai_goal_fightfromcover
is a point entity present in all games since Alien Swarm. It's an unused AI routine that would evidently tell NPCs to fight from behind cover, with a mapper-defined battle area. The code contains a comment dated mid 2008.
Keyvalues[edit | edit source]
- Target Entity
(goal)
<target_destination>
- The name of the entity to follow. If blank, defaults to the player.
- Directional Marker
(DirectionalMarker)
<target_destination>
- An entity that indicates the direction of battle. Confirm: Entity should be placed opposite of the Actors, across the battle zone.
- Generic Hint Type
(GenericHintType)
<string>
- Behavior looks for "generic" hints, and requires a text tag to search for.[Clarify]
- Zone Width
(width)
<float>
- Width of the hint search area.
- Zone Length
(length)
<float>
- Length of the hint search area.
- Zone Height
(height)
<float>
- Height of the hint search area.
- Zone Bias
(bias)
<float>
- Offset in the direction of the hint search area.[Clarify]
Inputs[edit | edit source]
- SetDirectionalMarker
<string>
- Sets Directional Marker.