Item battery: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added "Displaytitle Template")
No edit summary
Line 4: Line 4:


==Entity description==
==Entity description==
This item charges up the [[item_suit|HEV suit]] 15 energy points (regardless of the difficulty setting).
This item charges up the [[item_suit|HEV suit]] 15 energy points (regardless of the difficulty setting).
{{Placement Tip|Place this [[entity]] at least one unit above its resting surface to prevent its position from being disturbed in-game.}}
{{Placement Tip|Place this [[entity]] at least one unit above its resting surface to prevent its position from being disturbed in-game.}}


==Keyvalues==
==Keyvalues==
* {{KV Item}}
{{KV Item}}


==Inputs==
==Inputs==
* {{I Item}}
{{I Item}}


==Outputs==
==Outputs==
* {{O Item}}
{{O Item}}


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

Revision as of 12:29, 4 February 2012

The Battery item.

Template:Hl2 point

Entity description

This item charges up the HEV suit 15 energy points (regardless of the difficulty setting).

PlacementTip.gifPlacement Tip:Place this entity at least one unit above its resting surface to prevent its position from being disturbed in-game.

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.