Ai goal fightfromcover: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (-intn (from ASW SDK))
Line 8: Line 8:


== Keyvalues ==
== Keyvalues ==
{{KV|Actor(s) to affect|target_destination}}
{{KV|Actor(s) to affect|intn=actor|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|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|target_destination|Specify the entity that indicates the direction of battle}}
{{KV|Directional Marker|intn=DirectionalMarker|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|Generic Hint Type|intn=GenericHintType|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 Width|intn=width|float|Width of the hint search area}}
{{KV|Zone Length|float|Length of the hint search area}}
{{KV|Zone Length|intn=length|float|Length of the hint search area}}
{{KV|Zone Height|float|Offset in the direction of the hint search area}}
{{KV|Zone Height|intn=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|Zone Bias|intn=bias|float|Offset in the direction of the hint search area}}
{{KV|Start Active|boolean|Self-explanatory.}}
{{KV|Start Active|intn=startactive|boolean|Self-explanatory.}}
{{KV Targetname}}
{{KV Targetname}}



Revision as of 03:31, 28 June 2024

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

Ai goal follow.png

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