Halloween zapper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(This page needs more details)
(finally described what it does, just shy of 7 years later)
Line 1: Line 1:
{{tf2 point|halloween_zapper}} {{todo|description}}
{{lang|Halloween zapper}}
{{tf2 point|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 Parentname}}
{{KV|Particle Effect|string|The particle effect to be played when fired.}}
{{KV|Custom Touch Trigger|touch_trigger|}}
{{KV|Zapper Type|choices|
{{KV|Particle Effect|string|The particle effect to be played when we fired.}}
* 0: Zap on touch
{{KV|Zapper Type|choices}}
* 1: Zap only on input}}
 
{{KV BaseEntity|base=1}}
==Inputs==
==Inputs==
{{I Targetname}}
{{IO|ZapTouching|Zap all touching players.}}
{{I Parentname}}
{{I BaseEntity|base=1|noscroll=0}}
{{I EnableDisable}}
{{I EnableDisable}}
{{IO|ZapTouching|Zap all touching players.}}
{{confirm|can it actually be enabled and disabled?}}
 
==Outputs==
==Outputs==
{{O Targetname}}
{{O BaseEntity}}

Revision as of 11:04, 7 October 2022

English (en)Translate (Translate)

Team Fortress 2 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