Bot action point: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added lang.)
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{lang|Bot action point}}
{{lang|Bot action point}}{{this is a|e0|game=tf2|name=bot_action_point}}
{{tf2 point|bot_action_point}}


==Entity description==
==Entity description==

Revision as of 08:59, 7 January 2024

English (en)Translate (Translate)

bot_action_point is an e0 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

Entity description

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

Keyvalues

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
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

Inputs

Outputs

OnBotReached
Fires when the bot reaches this point.