trigger_bot_tag

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

trigger_bot_tag is a brush entity available in Team Fortress 2 Team Fortress 2. Any bots that interact with this trigger can be given tags, or have tags be removed from them. Multiple tags can also be used at once.

Tip.pngTip:Using the commands developer 1;ent_text player with tf_bot_debug_tags 1 shows the bots's tags without any other debugging information.
Note.pngNote:Tags won't work on bot_controller, as it doesn't spawn tf_bot entities.

Keyvalues

Name (targetname) <string>
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

Tags (tags) <string>
A set of tags added to bots touching this trigger; tags are comma-separated.
Add (add) <choices>
Add to existing tags? Set to false to replace them.
  • 0: RemoveTag
  • 1: AddTag
Filter Name ([todo internal name (i)]) <filter>
Name of filter entity to test against activators.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Flags

BaseTrigger

Everything (not including physics debris) : [64]

Clients (Survivors, Special Infected, Tanks Left 4 Dead series) : [1]

Only clients in vehicles : [32]
Only clients *not* in vehicles : [512]
Disallow Bots (removed since Left 4 Dead) : [4096]
NPCs (Common Infected, Witches Left 4 Dead series) : [2]
Only player ally NPCs : [16]
Only NPCs in vehicles (respects player ally flag) : [2048]
Physics Objects (not including physics debris) : [8]
Physics debris (include also physics debris) : [1024]
Pushables (Passes entities with classname func_pushable) : [4] Obsolete
Deprecated.
Equivalent to using Everything + filter_activator_class that filters func_pushable.


Inputs

EnableDisable:

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

See also