CFilterTFClass: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/tf/tf_filters.cpp /game/server/tf/tf_filters.cpp]''' '''...") |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
... | A filter that checks the TF class of the activator. | ||
'''Note''' - ''This entity does not function properly after being spawned. You must set the tfclass keyvalue through AddOutput after spawning for it to actually do anything.'' | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/tf/tf_filters.cpp /game/server/tf/tf_filters.cpp]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/tf/tf_filters.cpp /game/server/tf/tf_filters.cpp]''' | ||
Line 12: | Line 14: | ||
****'''[[CBaseFilter]]''' | ****'''[[CBaseFilter]]''' | ||
*****'''CFilterTFClass''' | *****'''CFilterTFClass''' | ||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+[https://developer.valvesoftware.com/wiki/filter_tf_class filter_tf_class] | |||
! style="width: 50%; background-color: #303030; color: white" |Name | |||
! style="width: 15%; background-color: #303030; color: white" |Type | |||
! style="width: 35%; background-color: #303030; color: white" |Description | |||
|- | |||
| style="width: 50%;" |'''m_nClass''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
Latest revision as of 19:56, 10 July 2022
Overview[edit | edit source]
A filter that checks the TF class of the activator.
Note - This entity does not function properly after being spawned. You must set the tfclass keyvalue through AddOutput after spawning for it to actually do anything.
Source location : /game/server/tf/tf_filters.cpp
Linked Entity : filter_tf_class
Class Structure[edit | edit source]
- CBaseEntity
- CServerOnlyEntity
- CLogicalEntity
- CBaseFilter
- CFilterTFClass
- CBaseFilter
- CLogicalEntity
- CServerOnlyEntity
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
m_nClass |