Template:O Item: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 1: Line 1:
{{O Targetname}}
{{O Targetname}}
* '''OnPlayerTouch'''
* '''OnPlayerTouch'''
: Fires when the player touches this object. {{plact}}
: Fires when the player touches this object. {{PlAct}}


* '''OnCacheInteraction'''
* '''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.
: 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 20:12, 19 January 2009

  • OnPlayerTouch
Fires when the player touches this object. (!activator is the player.)
  • 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.