Halloween zapper: Difference between revisions
Jump to navigation
Jump to search

Confirm:can it actually be enabled and disabled?
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{CD|CTFHellZap|nolink=1|file1=tf_weapon_spellbook.cpp}} | |||
{{this is a|point entity|game=Team Fortress 2|name=halloween_zapper}} When triggered, it plays a particle effect on players within an area. Despite the default FGD description of "Halloween Hell zapper," it does nothing on its own aside from playing the particle effect. | |||
==Keyvalues== | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV|Custom Touch Trigger|target_destination|The trigger that defines which players to zap.}} | {{KV|Custom Touch Trigger|target_destination|The trigger that defines which players to zap.}} | ||
{{KV|Particle Effect|string|The particle effect to be played when fired.}} | {{KV|Particle Effect|string|The particle effect to be played when fired.}} | ||
Line 7: | Line 10: | ||
* 0: Zap on touch | * 0: Zap on touch | ||
* 1: Zap only on input}} | * 1: Zap only on input}} | ||
==Inputs== | == Inputs == | ||
{{ | {{I|ZapTouching|Zap all touching players.}} | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{confirm|can it actually be enabled and disabled?}} | {{confirm|can it actually be enabled and disabled?}} | ||
Latest revision as of 16:30, 25 September 2024


![]() |
---|
CTFHellZap |
![]() |
halloween_zapper
is a point entity available in Team Fortress 2. When triggered, it plays a particle effect on players within an area. Despite the default FGD description of "Halloween Hell zapper," it does nothing on its own aside from playing the particle effect.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Custom Touch Trigger ([todo internal name (i)]) <targetname>
- The trigger that defines which players to zap.
- Zapper Type ([todo internal name (i)]) <choices>
- 0: Zap on touch
- 1: Zap only on input
Inputs
- ZapTouching
- Zap all touching players.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
