Asw pickup ammo bag

From Valve Developer Community
Revision as of 12:23, 2 July 2024 by Nescius (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
C++ Class hierarchy
CASW_Pickup_Weapon_Ammo_Bag
CASW_Pickup_Weapon
CASW_Pickup
CItem
CBaseAnimating
CBaseEntity
C++ asw_pickup_equipment.cpp

It is used to spawn a box of ammo.

Keyvalues

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.

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