Asw pickup ammo bag: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Nesciuse moved page Asw pickup ammo bag/en to Asw pickup ammo bag without leaving a redirect: Move en subpage to basepage)
m (Classifying as model entity)
 
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{screenshot}}
{{screenshot}}
{{this is a|point entity|game=Alien Swarm|name=asw_pickup_ammo_bag}}
{{this is a|model entity|game=Alien Swarm|name=asw_pickup_ammo_bag}}
{{CD|CASW_Pickup_Weapon_Ammo_Bag|file1=1}}
{{CD|CASW_Pickup_Weapon_Ammo_Bag|file1=1}}
It is used to spawn a box of ammo.
It is used to spawn a box of ammo.

Latest revision as of 04:30, 19 May 2025

English (en)Translate (Translate)
Nuvola apps ksnapshot.png
This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.

asw_pickup_ammo_bag is a model entity available in Alien Swarm Alien Swarm.

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