Func recharge: Difference between revisions
Jump to navigation
Jump to search
m (→Flags) |
m (more content) |
||
Line 6: | Line 6: | ||
==Availability== | ==Availability== | ||
{{in game|brush}} {{game|HL2}} | {{in game|brush}} {{game|HL2}} | ||
{{in code|class= | {{in code|class=CRecharge|file=hl2_dll\func_recharge.cpp}} | ||
==Keyvalues== | ==Keyvalues== | ||
Line 13: | Line 13: | ||
*{{kv origin}} | *{{kv origin}} | ||
*'''_minlight''' | *'''_minlight''' | ||
:< | :<integer> Minimum light level. | ||
==Flags== | ==Flags== | ||
Line 21: | Line 21: | ||
*{{i targetname}} | *{{i targetname}} | ||
*{{i parentname}} | *{{i parentname}} | ||
*'''Recharge''' | |||
==Outputs== | ==Outputs== | ||
*{{o targetname}} | *{{o targetname}} | ||
*'''OutRemainingCharge <float>''' | |||
==Also | : Remaining Charge | ||
* '''OnHalfEmpty''' | |||
: Half-Empty | |||
* '''OnEmpty''' | |||
: Empty | |||
* '''OnFull''' | |||
: Recharged to full. | |||
* '''OnPlayerUse''' | |||
: Fired when the player +USEs the charger. Use !activator to target the player. | |||
==See Also== | |||
* [[item_suitcharger]] | * [[item_suitcharger]] | ||
[[Category:Entities]][[Category:Brush Entities]] | [[Category:Entities]][[Category:Brush Entities]] |
Revision as of 19:09, 16 April 2006
Entity Description
Battery recharger.
Availability
Template:In game Template:Game Template:In code
Keyvalues
- <integer> Minimum light level.
Flags
- 8192 : Citadel recharger
Inputs
Outputs
- Template:O targetname
- OutRemainingCharge <float>
- Remaining Charge
- OnHalfEmpty
- Half-Empty
- OnEmpty
- Empty
- OnFull
- Recharged to full.
- OnPlayerUse
- Fired when the player +USEs the charger. Use !activator to target the player.