Bot action point: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added missing stuff)
m (Added a few keyvalues)
Line 8: Line 8:
{{KV|Desired Distance|integer|How close (in units) the bot should get before being considered at this point.}}
{{KV|Desired Distance|integer|How close (in units) the bot should get before being considered at this point.}}
{{KV|Stay Time|integer|How long the bot should remain at this point.}}
{{KV|Stay Time|integer|How long the bot should remain at this point.}}
{{KV|Command|choices|What the bot will do when it reaches this point.}}


==Inputs==
==Inputs==
Line 14: Line 16:
==Outputs==
==Outputs==
{{O Targetname}}
{{O Targetname}}
{{IO|OnBotReached|Fires when the bot reaches this point.}}

Revision as of 11:25, 7 September 2017

Team Fortress 2 bot_action_point is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

Used to mark a location where bots should perform a specific action.

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

Desired Distance ([todo internal name (i)]) <integer>
How close (in units) the bot should get before being considered at this point.
Stay Time ([todo internal name (i)]) <integer>
How long the bot should remain at this point.
Command ([todo internal name (i)]) <choices>
What the bot will do when it reaches this point.


Inputs

Outputs

OnBotReached
Fires when the bot reaches this point.