Template:O Item: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(updates)
Line 1: Line 1:
{{O Targetname}}
{{minititle|Item}}
 
{{IO|OnPlayerTouch|Fires when the player touches this item. {{ent|!activator}} is the player.}}
{{IO|OnPlayerTouch|Fires when the player touches this object {{PlAct}}. }}
{{IO|OnCacheInteraction|This output fires when the player proves they have "found" this item.
 
:Fires on:
{{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.}}
:*Player Touch (whether or not player actually acquires the item).
:*Picked up by {{ent|+use}}.
:*Picked up by gravity gun.
:*Punted by gravity gun.}}

Revision as of 02:29, 11 September 2018

Item:

OnPlayerTouch
Fires when the player touches this item. !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 gravity gun.
  • Punted by gravity gun.