item_ammo_pistol

From Valve Developer Community
Revision as of 13:45, 15 January 2012 by Dmx6 (talk | contribs)
Jump to navigation Jump to search
An item_ammo_pistol entity.

Template:Hl2 point

Entity description

A box of 9mm rounds for the semi-automatic pistol.

Despite what is written on it, the amount of ammo the box will contain depends on the current difficulty setting:

  • At the "Easy" (skill 1) setting the clip will provide 24 rounds.
  • At the "Normal" (skill 2) setting the clip will provide 20 rounds.
  • At the "Hard" (skill 3) setting the clip will provide 12 rounds.}}

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.

See also