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…')
 
(Reformatted to use IO templates, added to Output Templates category)
Line 1: Line 1:
{{ScrollBox|title=Item|1=
{{ScrollBox|title=Item|
; <code>OnPlayerTouch</code>
{{IO|OnPlayerTouch|Fires when the player touches this object.}}
: Fires when the player touches this object
{{IO|OnCacheInteraction|{{confirm|Fires when the player proves they have 'found' this item:}}
; <code>OnCacheInteraction</code>
: {{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}}
{{O Targetname}}
{{O Targetname}}
}}
}}<noinclude>
[[Category:Output Templates|Item swarm]]
</noinclude>

Revision as of 19:30, 23 January 2020

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