weapon_oldmanharpoon

From Valve Developer Community
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because [Why?].
C++ Class hierarchy
CWeaponOldManHarpoon
CWeaponCitizenPackage
CBaseHLCombatWeapon
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ weapon_oldmanharpoon.cpp
Weapon oldmanharpoon.png

weapon_oldmanharpoon is a model entity available in Half-Life 2 Half-Life 2.

Entity description

Used once for scripted sequences with the fisherman. Turns into prop_physics when dropped by the fisherman, this prop can be used by the gravity gun as a weapon that can pierces multiple enemies.

Flags

Start Constrained : [1]
Prevents the model from moving.
Deny player pickup (reserve for NPC) : [2]
Not puntable by Gravity Gun : [4]

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

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.