Bot action point: Difference between revisions
Jump to navigation
Jump to search

m (WisdomBot moved page Bot action point to Bot action point/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot.) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{CD|CTFBotActionPoint|file1=tf_bot_generator.cpp}} | |||
{{this is a|point entity|game=Team Fortress 2|name=bot_action_point}} | |||
Used to mark a location where bots should perform a specific action. | Used to mark a location where bots should perform a specific action. | ||
==Keyvalues== | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV|Next Action Point|string|intn=next_action_point|The next Action Point to approach after performing this one.}} | {{KV|Next Action Point|string|intn=next_action_point|The next Action Point to approach after performing this one.}} | ||
{{KV|Desired Distance|integer|intn=desired_distance|The distance to get within when approaching this Action Point before the bot says it has reached it. | {{KV|Desired Distance|integer|intn=desired_distance|The distance to get within when approaching this Action Point before the bot says it has reached it. | ||
Line 12: | Line 14: | ||
:{| class=standard-table | :{| class=standard-table | ||
! Literal Value || Description | ! Literal Value || Description | ||
|- | |||
| goto action point || Go to the action point | |||
|- | |- | ||
| taunt || Taunt | | taunt || Taunt | ||
Line 27: | Line 31: | ||
| build sentry at nearest sentry hint || If Engineer, build a sentry gun at the nearest sentry hint | | build sentry at nearest sentry hint || If Engineer, build a sentry gun at the nearest sentry hint | ||
|} | |} | ||
== Outputs == | |||
{{O|OnBotReached|Fires when the bot reaches this point.}} | |||
==Outputs== | |||
{{ | |||
Latest revision as of 13:56, 22 March 2025


![]() |
---|
CTFBotActionPoint |
![]() |
bot_action_point
is a point entity available in Team Fortress 2.
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
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Next Action Point (next_action_point) <string>
- The next Action Point to approach after performing this one.
- Desired Distance (desired_distance) <integer>
- The distance to get within when approaching this Action Point before the bot says it has reached it.
- By default the value used is 1hu.
- Stay Time (stay_time) <integer>
- How long the bot should stay at this action point (while perform any commands if applicable).
- Command (command) <choices>
- Command to give to the bot when it gets within range of this Action Point.
Literal Value Description goto action point Go to the action point taunt Taunt despawn Leave the game cloak If Spy, Cloak uncloak If Spy, Uncloak attack sentry at next action point Attack sentry gun at next action point disguise If Spy, Disguise build sentry at nearest sentry hint If Engineer, build a sentry gun at the nearest sentry hint
Outputs
- OnBotReached
- Fires when the bot reaches this point.