Ai goal fightfromcover: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Inputs: Substituted IO templates)
Line 18: Line 18:


== Inputs ==
== Inputs ==
{{IO|Activate|Activates the goal entity.}}
{{I|Activate|Activates the goal entity.}}
{{IO|Deactivate|Deactivates the goal entity.}}
{{I|Deactivate|Deactivates the goal entity.}}
{{IO|SetDirectionalMarker|Specify the entity that indicates the direction of battle|param=string}}
{{I|SetDirectionalMarker|Specify the entity that indicates the direction of battle|param=string}}
{{I Targetname}}
{{I Targetname}}


== Outputs ==
== Outputs ==
{{O Targetname}}
{{O Targetname}}

Revision as of 23:08, 20 April 2025

Stub

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

Icon-NotInFGD.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>[ Edit ]
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 <stringRedirectInput/string>
Specify the entity that indicates the direction of battle


Outputs