Template:O Item: Difference between revisions

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


* '''OnCacheInteraction'''
{{IO|OnPlayerTouch|Fires when the player touches this object {{PlAct}}.  }}
: 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.
 
{{IO|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 12:24, 4 February 2012


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.