This article relates to the game "Team Fortress 2". Click here for more information.

tf_logic_holiday

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by adding to it.

Class hierarchy
???
CBaseEntity

tf_logic_holiday is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

Holiday Entity. This is used to force a specific holiday on a map, usually Halloween.

This entity is also used to enable the Spell UI via its HalloweenSetUsingSpells input.

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

Holiday (holiday_type) <choices>
Controls the special events.
Todo: See if there are other effects associated with the events.
Taunt in Hell (tauntInHell) <choices>
Should players taunt when teleported to Hell.
Haunting (allowHaunting) <choices>
Allow Wheel of Doom haunting.


Inputs

HalloweenSetUsingSpells <integer>
Disable/Enable spells for this map. Only works on Halloween maps. (0 disable, 1 enable)
Note.pngNote:This affects whether or not players drop spells on death and whether or not spells appear on the HUD. Spells placed in the map via. Hammer will work regardless.
Halloween2013TeleportToHell <string>
Teleport all players to hell.