Item ammo smg1

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

Template:Hl2 point

Entity description

A box of 4.6x30mm FMJ ammunition for the submachine gun.

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

  • At the "Easy" (skill 1) setting the box will provide 54 rounds.
  • At the "Normal" (skill 2) setting the box will provide 45 rounds.
  • At the "Hard" (skill 3) setting the box will provide 27 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