This article relates to the game "Team Fortress 2". Click here for more information.

Bot hint sentrygun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added missing stuff)
(-added class hierarchy, cleanup)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{tf2 point|bot_hint_sentrygun}}
{{TF2 topicon}}
{{CD|CTFBotHintSentrygun|nolink=1|file1=tf_bot_hint_sentrygun.cpp}}
{{this is a|point entity|name=bot_hint_sentrygun|game=Team Fortress 2}} It is used to indicate Engineer bots another desirable spot to setup a sentry gun is located at. Required for MvM engineer bots to function.


==Entity description==
This entity is used in conjuction with {{ent|bot_hint_engineer_nest}} and {{ent|bot_hint_teleporter_exit}}. All three entities must share the same targetname to be associated with each other.
Used to show bots a good place to build a sentry.


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV Angles}}
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV|Team|choices|Team}}
:* 2 : Red
:* 3 : Blue


==Inputs==
==Inputs==
{{I Targetname}}
{{I Angles}}
{{I EnableDisable}}
{{I EnableDisable}}


==Outputs==
==See also==
{{O Targetname}}
* [[bot_hint_engineer_nest]]
* [[bot_hint_teleporter_exit]]

Latest revision as of 14:56, 25 September 2024

C++ Class hierarchy
CTFBotHintSentrygun
CBaseTFBotHintEntity
CPointEntity
CBaseEntity
C++ tf_bot_hint_sentrygun.cpp

bot_hint_sentrygun is a point entity available in Team Fortress 2 Team Fortress 2. It is used to indicate Engineer bots another desirable spot to setup a sentry gun is located at. Required for MvM engineer bots to function.

This entity is used in conjuction with bot_hint_engineer_nest and bot_hint_teleporter_exit. All three entities must share the same targetname to be associated with each other.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

See also