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

m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
Thunder4ik (talk | contribs) m (Unicodifying, replaced: See Also → See also, {{language subpage → {{langsp) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{ | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}{{this is a|e2|name=func_tfbot_hint|game=Team Fortress 2}} | ||
{{code class|CTFBotHint|tf_bot_hint.cpp}} | {{code class|CTFBotHint|tf_bot_hint.cpp}} | ||
Line 21: | Line 21: | ||
{{O BaseEntity}} | {{O BaseEntity}} | ||
==See | ==See also== | ||
* {{ent|bot_hint_sentrygun}} | * {{ent|bot_hint_sentrygun}} | ||
* [[Hint nodes]] | * [[Hint nodes]] |
Revision as of 09:37, 8 January 2024


func_tfbot_hint
is an e2 available in Team Fortress 2.
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:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
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.