Item healthkit

From Valve Developer Community
Revision as of 02:33, 1 August 2018 by Pinsplash (talk | contribs) (removed {{DISPLAYTITLE}}, covered by the hl2 point template)
Jump to navigation Jump to search

Template:Hl2 point

A Health Kit ingame.

Entity description

This item restores an amount of health points for players or npc_citizens on pickup. This amount is defined by the sk_healthkit value - 25 by default.

Dedicated Console Variables

sk_healthkit <int>
Amount of health restored (Default: 25). (This amount is unaffected by difficulty settings.)

Keyvalues

  • Item:

Flags

Start Constrained : [1]


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.