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

Halloween fortune teller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Classifying as model entity)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{TF2 topicon}}
{{LanguageBar}} {{TF2 topicon}}
{{lang}}{{this is a|point entity|name=halloween_fortune_teller|game=Team Fortress 2}} It is a giant {{tfwiki|Merasmus}} head that casts spells on players.
{{CD|CTFHalloweenFortuneTeller|nolink=1|file1=tf_logic_halloween_2014.cpp}}
{{bug|When the Fortune Teller casts the Melee Only spell, any player near a wall will be killed.}}
{{this is a|model entity|name=halloween_fortune_teller|game=Team Fortress 2}} It is a giant {{tfwiki|Merasmus}} head that casts spells on players.
{{bug*|When the Fortune Teller casts the Melee Only spell, any player near a wall will be killed.}}


==Keyvalues==
== Keyvalues ==
{{KV Targetname}}
{{KV|Red Teleport Entity|string|Where to teleport the red team.}}
{{KV|Red Teleport Entity|string|Where to teleport the red team.}}
{{KV|Blue Teleport Entity|string|Where to teleport the blue team.}}
{{KV|Blue Teleport Entity|string|Where to teleport the blue team.}}
{{todo|Do these designate actual entities? Should they be <tt>target_destination</tt>s?}}
{{todo|Do these designate actual entities? Should they be <tt>target_destination</tt>s?}}
{{KV BaseEntity|base=1}}
 
==Inputs==
== Inputs ==
{{IO|EnableFortuneTelling|Enable Fortune Telling.}}
{{I|EnableFortuneTelling|Enable Fortune Telling.}}
{{IO|DisableFortuneTelling|Disable Fortune Telling.}}
{{I|DisableFortuneTelling|Disable Fortune Telling.}}
{{IO|StartFortuneTelling|Starts Fortune Telling.}}
{{I|StartFortuneTelling|Starts Fortune Telling.}}
{{IO|EndFortuneTelling|Stops current Fortune Telling.}}
{{I|EndFortuneTelling|Stops current Fortune Telling.}}
{{I BaseEntity|base=1|noscroll=0}}
 
==Outputs==
== Outputs ==
{{IO|OnFortuneWarning|Sent before a fortune will be told.}}
{{O|OnFortuneWarning|Sent before a fortune will be told.}}
{{IO|OnFortuneTold|Sent when a fortune is told.}}
{{O|OnFortuneTold|Sent when a fortune is told.}}
{{IO|OnFortuneCurse|Sent when a fortune curses all players.}}
{{O|OnFortuneCurse|Sent when a fortune curses all players.}}
{{IO|OnFortuneEnd|Sent when a fortune has ended.}}
{{O|OnFortuneEnd|Sent when a fortune has ended.}}
{{O BaseEntity}}

Latest revision as of 04:31, 19 May 2025

English (en)Translate (Translate)
C++ Class hierarchy
CTFHalloweenFortuneTeller
CBaseAnimating
CBaseEntity
C++ tf_logic_halloween_2014.cpp

halloween_fortune_teller is a model 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>[ Edit ]
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.