func_healthcharger

From Valve Developer Community
Revision as of 15:44, 9 September 2024 by SirYodaJedi (talk | contribs) (Created page with "{{tabsBar|main=func_healthcharger}} {{CD|CWallHealth|base=CBaseToggle|file1=hl1/hl1_item_healthkit.cpp}} {{this is a|brush entity|name=func_healthcharger|game=Half-Life: Sourc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
edit
C++ Class hierarchy
CWallHealth
CBaseToggle
CBaseEntity
C++ item_healthkit.cpp

func_healthcharger is a brush entity available in Half-Life: Source Half-Life: Source. This is the health charger which gradually replenishes player health on use, until empty or the player is at full health.

This entity should be textured with a material using the ToggleTexture material proxy. Frame 0 is used when there is charge remaining, and frame 1 is used when the charger is depleted.

Keyvalues

Note.pngNote:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs


Name (targetname) <string>[ Edit ]
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

Deathmatch recharge delay (dmdelay) <integer>

See also