Func tfbot hint: Difference between revisions
Jump to navigation
Jump to search

(Update page info and formatting. (Info from Jungle Inferno leak,)) |
Kestrelguy (talk | contribs) m (added language bar.) |
||
| Line 1: | Line 1: | ||
{{lang|Func tfbot hint}} | |||
{{tf2 brush|func_tfbot_hint}} | {{tf2 brush|func_tfbot_hint}} | ||
{{code class|CTFBotHint|tf_bot_hint.cpp}} | {{code class|CTFBotHint|tf_bot_hint.cpp}} | ||
==Entity Description== | ==Entity Description== | ||
Hints give specific information about their location to help TF2 Bots decide how to react to, or make best use of, that specific | Hints give specific information about their location to help TF2 Bots decide how to react to, or make best use of, that specific location. Hints are only semi-scripted; you cannot force a bot to use a hint (with the exception of actbusy routines). Hints are only suggestions, to be weighed by the bot's AI code during gameplay. | ||
This entity adds the SNIPER_SPOT or SENTRY_SPOT attribute, depending on its hint KV, to any overlapping nav areas. | This entity adds the <tt>SNIPER_SPOT</tt> or <tt>SENTRY_SPOT</tt> attribute, depending on its hint KV, to any overlapping nav areas. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|hint|choices|Which kind of hint it is | {{KV|hint|choices|Which kind of hint it is. | ||
*0 - Sniper spot | *0 - Sniper spot | ||
*1 - Sentry gun spot | *1 - Sentry gun spot}} | ||
}} | {{KV TeamNum|tf2=1}} | ||
{{KV | {{KV EnableDisable}}{{KV BaseEntity|base=1|brush=1}} | ||
{{KV EnableDisable}} | |||
{{KV BaseEntity|base=1}} | |||
==Inputs== | ==Inputs== | ||
{{I TFTeam}} | {{I TFTeam}} | ||
| Line 24: | Line 22: | ||
{{O BaseEntity}} | {{O BaseEntity}} | ||
==See | ==See Also== | ||
* [[ | * {{ent|bot_hint_sentrygun}} | ||
* [[Hint nodes]] | |||
Revision as of 14:44, 6 October 2022
Entity Description
Hints give specific information about their location to help TF2 Bots decide how to react to, or make best use of, that specific location. Hints are only semi-scripted; you cannot force a bot to use a hint (with the exception of actbusy routines). Hints are only suggestions, to be weighed by the bot's AI code during gameplay.
This entity adds the SNIPER_SPOT or SENTRY_SPOT attribute, depending on its hint KV, to any overlapping nav areas.
Keyvalues
- hint ([todo internal name (i)]) <choices>
- Which kind of hint it is.
- 0 - Sniper spot
- 1 - Sentry gun spot
TeamNum:
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enableinput).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
- Toggle
- Toggle the enabled/disabled status of this entity.