Template:O Weapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-cleanup)
m (→‎top: Substituted IO templates)
Line 1: Line 1:
{{lang|Template:O Weapon}}
{{lang|Template:O Weapon}}
<onlyinclude>{{minititle|Weapon}}
<onlyinclude>{{minititle|Weapon}}
{{IO|OnNPCPickup|Fires when an [[NPC]] picks up this weapon. {{activator|NPC.}}}}
{{O|OnNPCPickup|Fires when an [[NPC]] picks up this weapon. {{activator|NPC.}}}}
{{IO|OnPlayerUse|Fires when the player [[+use]]s this weapon. {{PlAct}}}}
{{O|OnPlayerUse|Fires when the player [[+use]]s this weapon. {{PlAct}}}}
{{IO|OnPlayerPickup|Fires when a player picks up this weapon. {{PlAct}}}}
{{O|OnPlayerPickup|Fires when a player picks up this weapon. {{PlAct}}}}
{{IO|OnCacheInteraction|Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, [[weapon_physcannon|Physcannon]] pickup, Physcannon punt.}}
{{O|OnCacheInteraction|Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, [[weapon_physcannon|Physcannon]] pickup, Physcannon punt.}}
<includeonly>[[Category:Weapons]]</includeonly></onlyinclude>
<includeonly>[[Category:Weapons]]</includeonly></onlyinclude>
[[Category:Output Templates|Weapon]]
[[Category:Output Templates|Weapon]]

Revision as of 13:13, 21 April 2025

Weapon:

OnNPCPickup
Fires when an NPC picks up this weapon. (!activator is the NPC.)
OnPlayerUse
Fires when the player +uses this weapon. (!activator is the player.)
OnPlayerPickup
Fires when a player picks up this weapon. (!activator is the player.)
OnCacheInteraction
Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, Physcannon pickup, Physcannon punt.