Template:O Weapon: Difference between revisions
Jump to navigation
Jump to search
Tip:You can add l4d=1 to make
(Use BaseEntity template) |
Kestrelguy (talk | contribs) m (added language bar. can also be made to show OnKilled.) |
||
Line 1: | Line 1: | ||
{{ | {{lang|Template:O Weapon}} | ||
{{IO|OnNPCPickup|Fires when an [[NPC]] picks up this weapon. {{activator|NPC}}}} | {{tip|You can add <tt>l4d{{=}}1</tt> to make {{tl|O BaseEntity}} show the <tt>OnKilled</tt> output.}} | ||
<onlyinclude>{{minititle|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|OnPlayerUse|Fires when the player [[+use]]s this weapon. {{PlAct}}}} | ||
{{IO|OnPlayerPickup|Fires when a player picks up 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.}} | {{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 BaseEntity}}<includeonly>[[Category:Weapons]]</includeonly> | {{O BaseEntity|l4d={{{l4d|}}}}}<includeonly>[[Category:Weapons]]</includeonly></onlyinclude> | ||
[[Category:Output Templates|Weapon]] | [[Category:Output Templates|Weapon]] | ||
Revision as of 13:00, 16 October 2022

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