Item ammo pistol: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template)
Line 1: Line 1:
{{DISPLAYTITLE:item_ammo_pistol}}
[[Image:Item_ammo_pistol.jpg|thumb|right|250px|An item_ammo_pistol entity.]]
[[Image:Item_ammo_pistol.jpg|thumb|right|250px|An item_ammo_pistol entity.]]
{{hl2 point|item_ammo_pistol}}
{{hl2 point|item_ammo_pistol}}

Revision as of 02:22, 1 August 2018

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