Template:O Item swarm

From Valve Developer Community
Revision as of 08:50, 13 August 2010 by TomEdwards (talk | contribs) (Created page with '{{ScrollBox|title=Item|1= ; <code>OnPlayerTouch</code> : Fires when the player touches this object ; <code>OnCacheInteraction</code> : {{confirm|Fires when the player proves they…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


; OnPlayerTouch
Fires when the player touches this object
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


OnUser1 to OnUser4
These Outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.
OnKilled  (Only in the Left 4 Dead series)
This Output fires when the entity is killed and removed from the game.