item_healthvial

From Valve Developer Community
Revision as of 00:56, 30 November 2011 by Mattshu (talk | contribs)
Jump to navigation Jump to search

Template:Hl2 point

Item healthvial.jpg

This item restores a smaller amount of health points for players on pickup. This amount is defined by the sk_healthvial value - 10 by default.

Dedicated Console Variables

  • sk_healthvial (Default: 10)
<integer> Amount of health restored. (This amount is unaffected by difficulty settings.)

Keyvalues

  • Item:

Inputs

  • Item:

Outputs

  • Item:
OnPlayerTouch
Fires when the player touches this item. !activator is the player.
OnCacheInteraction
This output fires when the player proves they have "found" this item.
Fires on:
  • Player Touch (whether or not player actually acquires the item).
  • Picked up by +use.
  • Picked up by gravity gun.
  • Punted by gravity gun.