Func healthcharger (Half-Life: Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(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...")
 
mNo edit summary
Line 1: Line 1:
{{tabsBar|main=func_healthcharger}}
{{tabsBar|main=func_healthcharger}}
{{CD|CWallHealth|base=CBaseToggle|file1=hl1/hl1_item_healthkit.cpp}}
{{CD|CWallHealth|base=CBaseToggle|file1=hl1/hl1_item_healthkit.cpp|nolink=1}}
{{this is a|brush entity|name=func_healthcharger|game=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 is a|brush entity|name=func_healthcharger|game=Half-Life: Source}} This is the [[health]] charger which gradually replenishes player health on use, until empty or the player is at full health.



Revision as of 17:41, 9 September 2024

edit
C++ Class hierarchy
CWallHealth
CBaseToggle
CBaseEntity
C++ hl1/hl1_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