Template:O Item swarm: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{ScrollBox|title=Item|1= ; <code>OnPlayerTouch</code> : Fires when the player touches this object ; <code>OnCacheInteraction</code> : {{confirm|Fires when the player proves they…')
 
m (→‎top: Substituted IO templates)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ScrollBox|title=Item|1=
{{lang|Template:O Item swarm}}[[Category:Output Templates|Item swarm]]
; <code>OnPlayerTouch</code>
<onlyinclude>{{minititle|Item}}
: Fires when the player touches this object
{{O|OnPlayerTouch|Fires when the player touches this object.}}
; <code>OnCacheInteraction</code>
{{O|OnCacheInteraction|{{confirm|Fires when the player proves they have 'found' this item:}}
: {{confirm|Fires when the player proves they have 'found' this item:}}
:* Player touch (whether or not player actually acquires the item)
:* Player touch (whether or not player actually acquires the item)
:* Picked up by +USE
:* Picked up by +USE}}</onlyinclude>
{{O Targetname}}
}}

Latest revision as of 13:12, 21 April 2025

Item:

OnPlayerTouch
Fires when the player touches this object.
OnCacheInteraction
Confirm:Fires when the player proves they have 'found' this item:
  • Player touch (whether or not player actually acquires the item)
  • Picked up by +USE