Template:O Weapon: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
TomEdwards (talk | contribs) No edit summary  | 
				TomEdwards (talk | contribs)  No edit summary  | 
				||
| Line 1: | Line 1: | ||
{{ScrollBox|title=Weapon|1=  | |||
; <code>OnNPCPickup</code>  | ; <code>OnNPCPickup</code>  | ||
: Fires when an [[NPC]] picks up this weapon. {{activator|NPC}}  | : Fires when an [[NPC]] picks up this weapon. {{activator|NPC}}  | ||
| Line 8: | Line 9: | ||
: Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, [[weapon_physcannon|Physcannon]] pickup, Physcannon punt.  | : 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}}  | ||
}}  | |||
Revision as of 05:36, 8 December 2010
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.