Template:O Item: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added to Output Templates category)
m (→‎top: Substituted IO templates)
 
Line 1: Line 1:
{{minititle|Item}}
{{minititle|Item}}
{{IO|OnPlayerTouch|Fires when the player touches this item. {{ent|!activator}} is the player.}}
{{O|OnPlayerTouch|Fires when the player touches this item. {{ent|!activator}} is the player.}}
{{IO|OnCacheInteraction|This output fires when the player proves they have "found" this item.
{{O|OnCacheInteraction|This output fires when the player proves they have "found" this item.
:Fires on:
:Fires on:
:*Player Touch (whether or not player actually acquires the item).
:*Player Touch (whether or not player actually acquires the item).

Latest revision as of 13:11, 21 April 2025

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.