Func recharge: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link + wording)
mNo edit summary
Line 2: Line 2:


==Entity Description==
==Entity Description==
A [[brush entity]] that recharges the HEV suit's battery power.
A [[brush entity]] (as opposed to the model-based [[item_suitcharger]]) that recharges the HEV suit's battery power.


==Availability==
==Availability==
Line 45: Line 45:
* '''OnPlayerUse'''
* '''OnPlayerUse'''
: Fired when the player +USEs the charger. {{plact}}
: Fired when the player +USEs the charger. {{plact}}
==See Also==
* [[item_suitcharger]]


[[Category:Entities]][[Category:Brush Entities]]
[[Category:Entities]][[Category:Brush Entities]]

Revision as of 15:55, 10 May 2008

Template:Wrongtitle

Entity Description

A brush entity (as opposed to the model-based item_suitcharger) that recharges the HEV suit's battery power.

Availability

Template:In game Template:Game Template:In code

Dedicated Console Variables

  • sk_suitcharger (Default: 75)
<integer>
  • sk_suitcharger_citadel (Default: 500)
<integer>
  • sk_suitcharger_citadel_maxarmor (Default: 200)
<integer>

Keyvalues

<integer> Minimum light level.

Flags

  • 8192 : Citadel recharger

Inputs

This sets the remaining charge in the charger to whatever value you specify

Outputs

Remaining Charge
  • OnHalfEmpty
Half-Empty
  • OnEmpty
Empty
  • OnFull
Recharged to full.
  • OnPlayerUse
Fired when the player +USEs the charger. Template:Plact