Template:O Weapon: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Fix OnNPCPickup formatting (may cause issues, not sure))  | 
				Deprecated (talk | contribs)   (Reformatted to use IO templates, added to Output Templates category)  | 
				||
| Line 1: | Line 1: | ||
{{ScrollBox|title=Weapon|  | {{ScrollBox|title=Weapon|  | ||
{{IO|OnNPCPickup|Fires when an [[NPC]] picks up this weapon. {{activator|NPC}}}}  | |||
{{IO|OnPlayerUse|Fires when the player [[+use]]s 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.}}  | |||
{{O Targetname}}  | {{O Targetname}}  | ||
}}  | }}<noinclude>  | ||
[[Category:Output Templates|Weapon]]  | |||
</noinclude>  | |||
Revision as of 18:39, 23 January 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.