tf_weapon_grapplinghook

From Valve Developer Community
Revision as of 09:27, 21 July 2026 by Breakin' Benny (talk | contribs) (Legal code since the TF2 SDK's release.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)
C++ Class hierarchy
CTFGrapplingHook
↳CTFRocketLauncher
↳CTFWeaponBaseGun
↳CTFWeaponBase
↳CBaseCombatWeapon
↳CBaseAnimating
↳CBaseEntity
C++ tf_weapon_grapplinghook.cpp

tf_weapon_grapplinghook is a model entity available in Team Fortress 2 Team Fortress 2. It is the entity used for the Action slot Grappling Hook. If this entity is spawned using ent_create tf_weapon_grapplinghook, it will not appear in-game.

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