Weapon ammo spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(Added Outputs)
Line 3: Line 3:
== Entity description ==
== Entity description ==
A possible spawnpoint for ammo restock in Left 4 Dead.
A possible spawnpoint for ammo restock in Left 4 Dead.
== Outputs ==
* '''OnPlayerTouch'''
:Fires an Output when Player touches the ammo stock.
* '''OnCacheInteraction'''
:Fires an Output when the Player uses the ammo stock.
* '''OnIgnite'''
:Fires an Output when the ammo stock is on fire.
* '''OnKilled'''
:Fires an Output when it gets removed.


== Keyvalues ==
== Keyvalues ==

Revision as of 13:15, 14 November 2008

Note.pngNote:The current description of this entity is based on unofficial data based on data mining. Anything that may be read here is largely incomplete or, in some cases, incorrect.

Entity description

A possible spawnpoint for ammo restock in Left 4 Dead.

Outputs

  • OnPlayerTouch
Fires an Output when Player touches the ammo stock.
  • OnCacheInteraction
Fires an Output when the Player uses the ammo stock.
  • OnIgnite
Fires an Output when the ammo stock is on fire.
  • OnKilled
Fires an Output when it gets removed.

Keyvalues

Template:Kv weapon l4d

Note.pngNote:Ammo and count is usually unspecified for ammo spawnpoints.

Flags

Enable Physics : [1]
Must Exist : [2]
Infinite items (overrides count) : [8] (only in Left 4 Dead 2)
Absorb any dropped weapon type : [4] (only in Left 4 Dead 2)
Don't cluster with similar items : [131072] (only in Left 4 Dead)