Template:O Weapon: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
TomEdwards (talk | contribs) No edit summary  | 
				m (Fix OnNPCPickup formatting (may cause issues, not sure))  | 
				||
| Line 1: | Line 1: | ||
{{ScrollBox|title=Weapon|  | {{ScrollBox|title=Weapon|  | ||
; <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}}  | ||
Revision as of 23:18, 12 June 2016
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.