Asw pickup autogun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added language bar.)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lang|{{PAGENAME}}}}
{{this is a|point entity|game=Alien Swarm|name=asw_pickup_autogun}} It is used to spawn an autogun.
{{as point|asw_pickup_autogun}} It is used to spawn an autogun.


== Keyvalues ==
== Keyvalues ==

Latest revision as of 17:59, 17 May 2024

asw_pickup_autogun is a point entity available in Alien Swarm Alien Swarm. It is used to spawn an autogun.

Keyvalues

Bullets in gun ([todo internal name (i)]) <integer>
Specifies the number of bullets in this pickup. On this pickup, defaults to 250 bullets.
Clips ([todo internal name (i)]) <integer>
Specifies the number of clips in this pickup. On this pickup, defaults to 1 clip.
Secondary Bullets ([todo internal name (i)]) <integer>
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