Func healthcharger: Difference between revisions
Jump to navigation
Jump to search

m (removing the category of blasphemy) |
(updates) |
||
Line 1: | Line 1: | ||
{{hl2 brush|func_healthcharger}} A brush-based version of | {{lang|Func healthcharger}} | ||
{{ | {{hl2 brush|func_healthcharger}} A brush-based version of {{ent|item_healthcharger}}. | ||
{{ | {{code class|CWallHealth|item_healthkit.cpp}} | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Minimum light level|string| | {{KV|Minimum light level (_minlight)|string|Shine at least this much light on the brush}} | ||
{{KV | {{KV BaseEntity|base=1}} | ||
==Inputs== | ==Inputs== | ||
{{I | {{I BaseEntity|prel4d=1|base=1}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OutRemainingCharge|Fires once for every single point of health given to the player. | {{IO|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.}} | ||
{{IO|OnPlayerUse|Fired when the player tries to + | {{IO|OnPlayerUse|Fired when the player tries to {{ent|+use}} the healthcharger.}} | ||
{{O BaseEntity}} | |||
==See Also== | ==See Also== | ||
* | *{{ent|func_recharge}}, a brush-based recharger meant for suit power. |
Revision as of 19:03, 8 September 2018


Template:Hl2 brush A brush-based version of item_healthcharger.
Keyvalues
- Minimum light level (_minlight) ([todo internal name (i)]) <string>
- Shine at least this much light on the brush
Inputs
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
- func_recharge, a brush-based recharger meant for suit power.