tf_weapon_slap

From Valve Developer Community
Revision as of 13:52, 24 May 2021 by Amicdict (talk | contribs) (Fixed grammar errors and added base entity KVs and IOs.)
Jump to navigation Jump to search

Team Fortress 2 tf_weapon_slap is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

This entity is used for the Pyro melee weapon known as the Hot Hand. It will not appear in-game when spawned with the ent_create command.

Keyvalues

Inputs

HideWeapon  !FGD
If this weapon is being held, hide the worldmodel and/or viewmodel via EF_NODRAW. Weapon will still be useable. The weapon will become visible again if the holder is to switch between weapons in their inventory.


Outputs

Weapon:

OnNPCPickup
!activator = NPC
!caller = this entity
Fires when an NPC picks up this weapon.
OnPlayerUse
!activator = player
!caller = this entity
Fires when the player +uses this weapon.
OnPlayerPickup
!activator = player
!caller = this entity
Fires when a player picks up this weapon.
OnCacheInteraction
Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, Physcannon pickup, Physcannon punt.