Bot action point: Difference between revisions
Jump to navigation
Jump to search
(More documentation) |
(Update documentation.) |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Next Action Point|string|intn=next_action_point|The next Action Point to approach after performing this one.}} | |||
{{KV|Next Action Point|string|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|The distance to get within when approaching this Action Point before the bot says it has reached it.}} | : By default the value used is 1[[Hammer unit|hu]].}} | ||
{{KV|Stay Time|integer|How long the bot should stay at this action point (while perform any commands if applicable).}} | {{KV|Stay Time|integer|intn=stay_time|How long the bot should stay at this action point (while perform any commands if applicable).}} | ||
{{KV|Command|choices|Command to give to the bot when it gets within range of this Action Point.}} | {{KV|Command|choices|intn=command|Command to give to the bot when it gets within range of this Action Point.}} | ||
:{| class=standard-table | :{| class=standard-table | ||
! Literal Value || Description | ! Literal Value || Description | ||
Line 27: | Line 27: | ||
| 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 | ||
|} | |} | ||
{{KV BaseEntity|base=1}} | |||
==Inputs== | ==Inputs== | ||
{{I | {{I BaseEntity|base=1}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OnBotReached|Fires when the bot reaches this point.}} | {{IO|OnBotReached|Fires when the bot reaches this point.}} | ||
{{O BaseEntity|base=1}} |
Revision as of 07:14, 9 September 2021
bot_action_point
is a point entity available in Team Fortress 2.
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.