Template:O Weapon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
;'''OnPlayerUse'''
; <code>OnPlayerUse</code>
: Fires when the player [[+use]]s this weapon. {{PlAct}}
: Fires when the player [[+use]]s this weapon. {{PlAct}}
;'''OnPlayerPickup'''
; <code>OnPlayerPickup</code>
: Fires when a player picks up this weapon. {{PlAct}}
: Fires when a player picks up this weapon. {{PlAct}}

Revision as of 06:33, 8 December 2010

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.)