filter_tf_bot_has_tag

From Valve Developer Community
Revision as of 16:25, 19 November 2013 by Powerlord (talk | contribs) (This filter was missing from the list, but is in TF2's datamaps.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<Team Fortress 2> filter_tf_bot_has_tag is a point entity available in Team Fortress 2.

Entity description

A filter that only allows bots with certain tags to activate.

Likely used in MvM maps to trigger the round end for the flag carriers.

Keyvalues

BaseFilter:

Filter mode (Negated) <boolean>
Inverts the filter, making the specified criteria fail and all others pass.
Tags <string>
a (space separated?) set of tags a bot needs to activate this filter. Only one is required unless Require All Flags is set.
Require All Flags <boolean>
Should all flags be required?

Inputs

BaseFilter:

TestActivator
Tests the entity that called the input (the !activator) against the filter, and fires either the OnPass or OnFail output.
Bug: Calling this input will cause the server to crash if the !activator entity no longer exists. Do not use this input to test any entities which may be asynchronously deleted, such as players or projectiles, or in an i/o chain which might be initiated by entity deletion, such as the OnEndTouch output of a trigger.

Outputs

BaseFilter:

OnPass
OnFail
One of these will fire when TestActivator input is sent, depending on if the activator is allowed by the filter or not.