Template:O Item: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m ({{plact}})
No edit summary
Line 2: Line 2:
* '''OnPlayerTouch'''
* '''OnPlayerTouch'''
: Fires when the player touches this object. {{plact}}
: Fires when the player touches this object. {{plact}}
* '''OnCacheInteraction'''
: This output fires when the player proves they have 'found' this item. Fires on: Player Touch (whether or not player actually acquires the item), Picked up by +USE, Picked up by Physcannon, Punted by Physcannon.

Revision as of 16:52, 3 March 2008

Template:O targetname

  • OnPlayerTouch
Fires when the player touches this object. Template:Plact
  • OnCacheInteraction
This output fires when the player proves they have 'found' this item. Fires on: Player Touch (whether or not player actually acquires the item), Picked up by +USE, Picked up by Physcannon, Punted by Physcannon.