Template:O Weapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Reformatted to use IO templates, added to Output Templates category)
No edit summary
Line 4: Line 4:
{{IO|OnPlayerPickup|Fires when a player picks up this weapon. {{PlAct}}}}
{{IO|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.}}
{{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 Targetname}}
{{O Targetname}}<includeonly>[[Category:Weapons]]</includeonly>
}}<noinclude>
}}<noinclude>
[[Category:Output Templates|Weapon]]
[[Category:Output Templates|Weapon]]
</noinclude>
</noinclude>

Revision as of 12:10, 5 July 2020

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.