ai_goal_fightfromcover

From Valve Developer Community
Jump to: navigation, search

Stub

This article or section is a stub. You can help by adding to it.

Info.png
This entity is not in the FGD by default.
See below for instructions on making it available.

ai_goal_fightfromcover is a point entity available in Portal 2 Portal 2 and Alien Swarm Alien Swarm.

Entity description

Possible left over from Episode 3, seems like a new entity meant to replace ai_goal_standoff.

Keyvalues

Actor(s) to affect (actor) <targetname>
Target Entity (goal) <targetname>
The name of the entity to follow. If blank, and the actor likes the player, then defaults to player
Directional Marker (DirectionalMarker) <targetname>
Specify the entity that indicates the direction of battle
Generic Hint Type (GenericHintType) <string>
Behavior looks for 'generic' hints, and requires a text tag to search for
Zone Width (width) <float>
Width of the hint search area
Zone Length (length) <float>
Length of the hint search area
Zone Height (height) <float>
Offset in the direction of the hint search area
Zone Bias (bias) <float>
Offset in the direction of the hint search area
Start Active (startactive) <boolean>
Self-explanatory.
Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Activate
Activates the goal entity.
Deactivate
Deactivates the goal entity.
SetDirectionalMarker <string>
Specify the entity that indicates the direction of battle


Outputs