Ai goal fightfromcover: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{stub}} {{base point multi|ai_goal_fightfromcover|game1=Portal 2|game2=Alien Swarm}} == Entity description == left|link= AI Fight from Cover. {{cl…')
 
No edit summary
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{stub}}
{{stub}}
{{ent not in fgd}}
{{base point multi|ai_goal_fightfromcover|game1=Portal 2|game2=Alien Swarm}}
{{this is a|point entity|name=ai_goal_fightfromcover|game=Portal 2|game1=Alien Swarm}} Possible left over from Episode 3, seems like a new entity meant to replace [[ai_goal_standoff]].
 
== Entity description ==
[[File:ai_goal_follow.png|left|link=]]
AI Fight from Cover.
{{clr}}


== Keyvalues ==
== Keyvalues ==
{{KV|Actor(s) to affect|target_destination}}
{{KV|Target Entity|target_destination|The name of the entity to follow. If blank, and the actor likes the player, then defaults to player}}
{{KV|Directional Marker|target_destination|Specify the entity that indicates the direction of battle}}
{{KV|Generic Hint Type|string|Behavior looks for 'generic' hints, and requires a text tag to search for}}
{{KV|Zone Width|float|Width of the hint search area}}
{{KV|Zone Length|float|Length of the hint search area}}
{{KV|Zone Height|float|Offset in the direction of the hint search area}}
{{KV|Zone Bias|float|Offset in the direction of the hint search area}}
{{KV|Start Active|boolean}}
{{KV Targetname}}
{{KV Targetname}}
{{KV|Actor(s) to affect|intn=actor|target_destination}}
{{KV|Target Entity|intn=goal|target_destination|The name of the entity to follow. If blank, and the actor likes the player, then defaults to player}}
{{KV|Directional Marker|intn=DirectionalMarker|target_destination|Specify the entity that indicates the direction of battle}}
{{KV|Generic Hint Type|intn=GenericHintType|string|Behavior looks for 'generic' hints, and requires a text tag to search for}}
{{KV|Zone Width|intn=width|float|Width of the hint search area}}
{{KV|Zone Length|intn=length|float|Length of the hint search area}}
{{KV|Zone Height|intn=height|float|Offset in the direction of the hint search area}}
{{KV|Zone Bias|intn=bias|float|Offset in the direction of the hint search area}}
{{KV|Start Active|intn=startactive|boolean|Self-explanatory.}}


== Inputs ==
== Inputs ==
{{IO|Activate}}
{{I|Activate|Activates the goal entity.}}
{{IO|Deactivate}}
{{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}}
 
== Outputs ==
{{O Targetname}}

Latest revision as of 02:19, 6 June 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. Possible left over from Episode 3, seems like a new entity meant to replace ai_goal_standoff.

Keyvalues

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

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.

Inputs

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