Template:O Weapon

From Valve Developer Community
Revision as of 13:00, 16 October 2022 by Kestrelguy (talk | contribs) (added language bar. can also be made to show OnKilled.)
Jump to navigation Jump to search
Tip.pngTip:You can add l4d=1 to make {{O BaseEntity}} show the OnKilled output.

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.