tf_weapon_bat

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Icon-callout-not-in-fgd.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CTFBat
↳CTFWeaponBaseMelee
↳CTFWeaponBase
↳CBaseCombatWeapon
↳CBaseAnimating
↳CBaseEntity
C++ tf_weapon_bat.cpp

tf_weapon_bat is a model entity available in Team Fortress 2 Team Fortress 2. It is the entity for the Baseball Bat and base for the Scout's melee weapons.

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