Trigger bot tag

From Valve Developer Community
Jump to navigation Jump to search

Template:Tf2 brush

Entity Description

Add or remove tags to bots that pass through this trigger. Multiple tags may be separated by a comma.

Use tf_bot_debug_tags 1;ent_text player to see what tags a bot currently has.

Note: does not add tags to bots created with bot_controller, however bot_generator works

The filter filter_tf_bot_has_tag may be used on these bot tags.

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).
Tags ([todo internal name (i)]) <string>
a (space separated?) set of tags to add to a bot touching this trigger.
Add ([todo internal name (i)]) <boolean>
Add to existing tags? Set to false to replace them.


Inputs

  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
  • SetTeam
<integer> Changes the entity's team.

Outputs