Template:O Weapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Substituted IO templates)
No edit summary
 
Line 1: Line 1:
{{lang|Template:O Weapon}}
{{lang|Template:O Weapon}}
<onlyinclude>{{minititle|Weapon}}
<onlyinclude>{{minititle|Weapon}}
{{O|OnNPCPickup|Fires when an [[NPC]] picks up this weapon. {{activator|NPC.}}}}
{{O|OnNPCPickup|activator=NPC|Fires when an [[NPC]] picks up this weapon.}}
{{O|OnPlayerUse|Fires when the player [[+use]]s this weapon. {{PlAct}}}}
{{O|OnPlayerUse|activator=player|Fires when the player [[+use]]s this weapon.}}
{{O|OnPlayerPickup|Fires when a player picks up this weapon. {{PlAct}}}}
{{O|OnPlayerPickup|activator=player|Fires when a player picks up this weapon. }}
{{O|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]]

Latest revision as of 13:29, 4 May 2025

Weapon:

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