Ai goal fightfromcover: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Inputs: Substituted IO templates)
No edit summary
 
Line 1: Line 1:
{{stub}}
{{stub}}
{{ent not in fgd}}
{{ent not in fgd}}
{{this is a|point entity|name=ai_goal_fightfromcover|game=Portal 2|game1=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 ==
Possible left over from Episode 3, seems like a new entity meant to replace [[ai_goal_standoff]].


== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV|Actor(s) to affect|intn=actor|target_destination}}
{{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|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}}
Line 15: Line 14:
{{KV|Zone Bias|intn=bias|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.}}
{{KV|Start Active|intn=startactive|boolean|Self-explanatory.}}
{{KV Targetname}}


== Inputs ==
== Inputs ==
Line 21: Line 19:
{{I|Deactivate|Deactivates the goal entity.}}
{{I|Deactivate|Deactivates the goal entity.}}
{{I|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