Asw pickup railgun: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Created page with '{{as point|asw_pickup_railgun}} It is used to spawn a rail gun.')
 
No edit summary
Line 1: Line 1:
{{as point|asw_pickup_railgun}} It is used to spawn a rail gun.
{{as point|asw_pickup_railgun}} It is used to spawn a rail gun.
== Keyvalues ==
; Bullets in gun <code><[[int]]></code>
: Specifies the number of bullets in this pickup. On this pickup, defaults to 50.
; Clips <code><[[int]]></code>
: Specifies the number of clips in this pickup. On this pickup, defaults to 5 clips.
; Secondary Bullets <code><[[int]]></code>
: Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to 0.
{{KV ASWPickup}}
== Flags ==
{{Fl ASWPickup}}
== Inputs ==
{{I ASWPickup}}
== Outputs ==
{{O ASWPickup}}

Revision as of 21:07, 17 August 2010

Template:As point It is used to spawn a rail gun.


Keyvalues

Bullets in gun <int>
Specifies the number of bullets in this pickup. On this pickup, defaults to 50.
Clips <int>
Specifies the number of clips in this pickup. On this pickup, defaults to 5 clips.
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