Func tfbot hint: Difference between revisions
Jump to navigation
Jump to search
(Some explained hint values) |
(Update page info and formatting. (Info from Jungle Inferno leak,)) |
||
| Line 1: | Line 1: | ||
{{tf2 brush|func_tfbot_hint}} | {{tf2 brush|func_tfbot_hint}} | ||
==Entity | {{code class|CTFBotHint|tf_bot_hint.cpp}} | ||
==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 locus. Hints are only semi-scripted. You cannot force an Bot to use a hint (with the exception of actbusy routines). Hints are only suggestions, to be weighed by an NPC's AI code during gameplay. | Hints give specific information about their location to help TF2 Bots decide how to react to, or make best use of, that specific locus. Hints are only semi-scripted. You cannot force an Bot to use a hint (with the exception of actbusy routines). Hints are only suggestions, to be weighed by an NPC's AI code during gameplay. | ||
== Keyvalues == | This entity adds the SNIPER_SPOT or SENTRY_SPOT attribute, depending on its hint KV, to any overlapping nav areas. | ||
==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 TFTeam}} | {{KV TFTeam}} | ||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{KV BaseEntity|base=1}} | |||
== Inputs == | ==Inputs== | ||
{{I TFTeam}} | {{I TFTeam}} | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{I Toggle}} | {{I Toggle}} | ||
{{I BaseEntity|base=1}} | |||
== Outputs == | ==Outputs== | ||
{{O | {{O BaseEntity}} | ||
==See also== | ==See also== | ||
* [[Hint_nodes]] | * [[Hint_nodes]] | ||
Revision as of 14:35, 8 July 2021
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 locus. Hints are only semi-scripted. You cannot force an Bot to use a hint (with the exception of actbusy routines). Hints are only suggestions, to be weighed by an NPC'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.