Func healthcharger

From Valve Developer Community
Revision as of 05:16, 9 September 2018 by Pinsplash (talk | contribs) (visiblebrush)
Jump to navigation Jump to search
English (en)Translate (Translate)

Template:Hl2 brush A brush-based version of item_healthcharger.

C++ In code, it is represented by theCWallHealthclass, defined in theitem_healthkit.cppfile.

Keyvalues

Minimum light level (_minlight) ([todo internal name (i)]) <string>
Shine at least this much light on the brush
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.


Inputs

SetDamageFilter <targetnameRedirectInput/string>
Sets a filter for this entity for when it receives damage.
EnableDamageForces
Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
DisableDamageForces
Prevents the entity from being pushed by damage done to it.
Todo: move/mention at proper place


Outputs

OutRemainingCharge
Fires once for every single point of health given to the player. That means it will not fire when the charger is depleted or when the player is at full health.
OnPlayerUse
Fired when the player tries to +use the healthcharger.


See Also