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

halloween_fortune_teller

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

halloween_fortune_teller is a point entity available in Team Fortress 2 Team Fortress 2. It is a giant Tfwiki favicon.png Merasmus head that casts spells on players.

Icon-Bug.pngBug*:When the Fortune Teller casts the Melee Only spell, any player near a wall will be killed.

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

Red Teleport Entity ([todo internal name (i)]) <string>
Where to teleport the red team.
Blue Teleport Entity ([todo internal name (i)]) <string>
Where to teleport the blue team.
Todo: Do these designate actual entities? Should they be target_destinations?

Inputs

EnableFortuneTelling
Enable Fortune Telling.
DisableFortuneTelling
Disable Fortune Telling.
StartFortuneTelling
Starts Fortune Telling.
EndFortuneTelling
Stops current Fortune Telling.

Outputs

OnFortuneWarning
Sent before a fortune will be told.
OnFortuneTold
Sent when a fortune is told.
OnFortuneCurse
Sent when a fortune curses all players.
OnFortuneEnd
Sent when a fortune has ended.