asw_pickup_chainsaw

From Valve Developer Community
Jump to: navigation, search
English (en)

asw_pickup_chainsaw is a point entity available in Alien Swarm Alien Swarm.

class hierarchy
CASW_Pickup_Weapon_Chainsaw defined in asw_pickup_weapon.cpp
CASW_Pickup_Weapon
CASW_Pickup
CItem
CBaseAnimating
CBaseEntity

It is used to spawn a chainsaw.

Keyvalues

Bullets in gun (BulletsInGun) <integer>
Specifies the number of bullets in this pickup. On this pickup, defaults to 100 bullets.
Stay in air on startup (FreezePickup) <boolean>
If set, this pickup won't fall to the ground when the map starts.


Flags


Item:
* [1] : Start Constrained
   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