Item healthvial: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:item_healthvial}}
{{DISPLAYTITLE:item_healthvial}}
{{hl2 point|item_healthvial}} [[Image:item_healthvial.jpg|right]] 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.
[[Image:item_healthvial.jpg|right]]
{{hl2 point|item_healthvial}} 
 
==Entity description==
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==
==Dedicated Console Variables==
* '''sk_healthvial''' (Default: 10)
;sk_healthvial <[[int]]>
: <integer> Amount of health restored. (This amount is unaffected by difficulty settings.)
: Amount of health restored (Default: 10). (This amount is unaffected by difficulty settings.)


==Keyvalues==
==Keyvalues==
Line 15: Line 19:
* {{O Item}}
* {{O Item}}


[[Category:Entities]] [[Category:Items]]
[[Category:Items]]

Revision as of 14:04, 15 January 2012

Item healthvial.jpg

Template:Hl2 point

Entity description

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 <int>
Amount of health restored (Default: 10). (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.