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 (same as bot_hint_teleporter_exit)
(-added class hierarchy, cleanup)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{tf2 point|bot_hint_sentrygun}} Used to indicate Engineer bots another desirable spot to setup a sentry gun is located at. Required for MvM engineer bots to function.
{{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.


This entity is used in conjuction with [[bot_hint_engineer_nest]] and [[bot_hint_teleporter_exit]]. All three entities must share the same targetname in order to be associated with each other.
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.


==Keyvalues==
==Keyvalues==
{{KV BaseEntity|base=1|tf2=1}}
{{KV Targetname}}
{{KV EnableDisable}}
{{KV EnableDisable}}


==Inputs==
==Inputs==
{{I BaseEntity}}
{{I EnableDisable}}
{{I EnableDisable}}


==Outputs==
==See also==
{{O BaseEntity}}
 
==See Also==
* [[bot_hint_engineer_nest]]
* [[bot_hint_engineer_nest]]
* [[bot_hint_teleporter_exit]]
* [[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