Asw pickup mining laser: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (added language bar.)
Line 1: Line 1:
{{as point|asw_pickup_mining_laser}}
{{lang|{{PAGENAME}}}}
 
{{as point|asw_pickup_mining_laser}} It is used to spawn a mining laser. The laser can be fired at {{ent|asw_prop_laserable}}s to destroy them.
==Entity description==
It is used to spawn a mining laser.
 
The laser can be fired at [[asw_prop_laserable]] to destroy them.


== Keyvalues ==
== Keyvalues ==
{{KV ASWPickup}}
{{KV|Bullets in gun|int|Specifies the number of bullets in this pickup. On this pickup, defaults to 250 bullets.}}
{{KV|Bullets in gun|int|Specifies the number of bullets in this pickup. On this pickup, defaults to 250 bullets.}}
{{KV|Clips|int|Specifies the number of clips in this pickup. On this pickup, defaults to 1 clip.}}
{{KV|Clips|int|Specifies the number of clips in this pickup. On this pickup, defaults to 1 clip.}}
{{KV|Secondary Bullets|int|Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to 0.}}
{{KV|Secondary Bullets|int|Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to 0.}}
{{KV ASWPickup}}


== Flags ==
== Flags ==
{{Fl ASWPickup}}
{{Fl Item Swarm}}


== Inputs ==
== Inputs ==
{{I ASWPickup}}
{{I Item Swarm}}


== Outputs ==
== Outputs ==
{{O ASWPickup}}
{{O Item Swarm}}


==See also==
==See also==
* [[asw_prop_laserable]]
* {{ent|asw_prop_laserable}}

Revision as of 06:16, 25 May 2022

English (en)Translate (Translate)

Template:As point It is used to spawn a mining laser. The laser can be fired at asw_prop_laserables to destroy them.

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

See also