Item ammo crossbow

From Valve Developer Community
Revision as of 10:21, 1 January 2014 by Pacguy19 (talk | contribs) (description, picture update)
Jump to navigation Jump to search
Item ammo crossbow.PNG

Template:Hl2 point

Entity description

A bundle of bolts that will provide ammunition for the weapon_crossbow.

Despite the appearance of its model, the amount of ammo the bundle will provide depends on the current difficulty setting:

  • At the "Easy" (skill 1) setting the bundle will provide 7 bolts.
  • At the "Normal" (skill 2) setting the bundle will provide 6 bolts.
  • At the "Hard" (skill 3) setting the bundle will provide 3 bolts.

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.