Asw pickup medkit

From Valve Developer Community
Revision as of 06:07, 13 August 2010 by Fizzleblix (talk | contribs) (fixed 'defaults to' values)
Jump to navigation Jump to search

Template:As point It is used to spawn a personal healthkit.

Keyvalues

Bullets in gun <int>
Specifies the number of bullets in this pickup. On this pickup, defaults to 1 medkit use.
Clips <int>
Specifies the number of clips in this pickup. On this pickup, defaults to 0.
Secondary Bullets <int>
Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to 0.
Stay in air on startup (FreezePickup) <boolean>
If set, this pickup won't fall to the ground when the map starts.


Flags

Item:
;Start Constrained : [1]
Keeps the model from moving.

Inputs

Outputs

Item:

OnPlayerTouch
Fires when the player touches this object.
OnCacheInteraction
Confirm:Fires when the player proves they have 'found' this item:
  • Player touch (whether or not player actually acquires the item)
  • Picked up by +USE