Func recharge: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (more content)
Line 6: Line 6:
==Availability==
==Availability==
{{in game|brush}} {{game|HL2}}
{{in game|brush}} {{game|HL2}}
{{in code|class=???|file=???}}
{{in code|class=CRecharge|file=hl2_dll\func_recharge.cpp}}


==Keyvalues==
==Keyvalues==
Line 13: Line 13:
*{{kv origin}}
*{{kv origin}}
*'''_minlight'''
*'''_minlight'''
:<string> Minimum light level.  
:<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 See==
: 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

Template:Wrongtitle

Entity Description

Battery recharger.

Availability

Template:In game Template:Game Template:In code

Keyvalues

<integer> Minimum light level.

Flags

  • 8192 : Citadel recharger

Inputs

Outputs

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