Asw pickup chainsaw: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed 'defaults to' values)
(updated templates used.)
Line 1: Line 1:
{{lang|Asw pickup chainsaw}}
{{as point|asw_pickup_chainsaw}} It is used to spawn a chainsaw.
{{as point|asw_pickup_chainsaw}} It is used to spawn a chainsaw.


== Keyvalues ==
== Keyvalues ==
 
{{KV|Bullets in gun|int|Specifies the number of bullets in this pickup. On this pickup, defaults to 100.}}
; Bullets in gun <code><[[int]]></code>
: Specifies the number of bullets in this pickup. On this pickup, defaults to 100.
{{KV ASWPickup}}
{{KV ASWPickup}}


== Flags ==
== Flags ==
 
{{Fl Item swarm}}
{{Fl ASWPickup}}


== Inputs ==
== Inputs ==
 
{{I Item swarm}}
{{I ASWPickup}}


== Outputs ==
== Outputs ==
{{O ASWPickup}}
{{O ASWPickup}}

Revision as of 09:16, 30 April 2022

English (en)Translate (Translate)

Template:As point It is used to spawn a chainsaw.

Keyvalues

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