FilterTeam: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
A filter that checks the activator's TeamNum keyvalue.
A filter that checks the activator's TeamNum keyvalue.
TeamNum Values:
* 0 - None
* 1 - Spectator
* 2 - RED
* 3 - BLU
* 5 - Boss / Neutral


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/filters.cpp /game/server/filters.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/filters.cpp /game/server/filters.cpp]'''

Revision as of 18:41, 10 July 2022

Overview

A filter that checks the activator's TeamNum keyvalue.

TeamNum Values:

  • 0 - None
  • 1 - Spectator
  • 2 - RED
  • 3 - BLU
  • 5 - Boss / Neutral

Source location : /game/server/filters.cpp

Linked Entity : filter_activator_team

Class Structure

Entity DataMaps

FilterTeam
Name Type Description
m_iFilterTeam