Halloween zapper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{lang|Halloween zapper}}{{this is a|e0|game=tf2|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.
{{lang|Halloween zapper}}{{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==

Revision as of 18:51, 17 May 2024

English (en)Translate (Translate)

halloween_zapper is a point entity available in Team Fortress 2 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

Custom Touch Trigger ([todo internal name (i)]) <targetname>
The trigger that defines which players to zap.
Particle Effect ([todo internal name (i)]) <string>
The particle effect to be played when fired.
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.
Confirm:can it actually be enabled and disabled?

Outputs