tf_weapon_base
Jump to navigation
Jump to search
Class hierarchy |
---|
CTFWeaponBase |
tf_weapon_base.cpp |
tf_weapon_base
is a point entity available in Team Fortress 2. This entity is used by every weapon entity in TF2 as a base entity, and they derive all weapon behavior from tf_weapon_base
.
Outputs
Weapon:
- OnNPCPickup
- Fires when an NPC picks up this weapon. (!activator is the NPC.)
- OnPlayerUse
- Fires when the player +uses this weapon. (!activator is the player.)
- OnPlayerPickup
- Fires when a player picks up this weapon. (!activator is the player.)
- OnCacheInteraction
- Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, Physcannon pickup, Physcannon punt.