halloween_zapper

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
CTFHellZap
CBaseEntity
tf_weapon_spellbook.cpp

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

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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.
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?