Tf logic minigames: Difference between revisions
Jump to navigation
Jump to search

m (→Inputs: Substituted IO templates) |
(Should be categorized by the template, not by adding categories manually) |
||
Line 1: | Line 1: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
{{CD|CTFMinigameLogic|tf_logic_halloween_2014.cpp}} | {{CD|CTFMinigameLogic|tf_logic_halloween_2014.cpp}} | ||
{{this is a|point entity|name=tf_logic_minigames|engine=Source|game=Team Fortress 2 | {{this is a|point entity|name=tf_logic_minigames|engine=Source|game=Team Fortress 2}} | ||
==Entity Description== | ==Entity Description== | ||
Line 19: | Line 19: | ||
{{I|TeleportToRandomMinigame|Teleports players to a random minigame.}} | {{I|TeleportToRandomMinigame|Teleports players to a random minigame.}} | ||
{{I|ReturnFromMinigame|Forces all players to respawn and ends the minigame.}} | {{I|ReturnFromMinigame|Forces all players to respawn and ends the minigame.}} | ||
Revision as of 10:05, 28 April 2025


![]() |
---|
CTFMinigameLogic |
tf_logic_minigames
is a point entity available in Team Fortress 2.
Entity Description
This entity handles minigame logic of three minigames:
- Generic Minigame = 0
- Halloween 2014 Minigame Collection = 1
- Halloween 2014 Minigame Platforms = 2
- Halloween 2014 Soccer Minigame = 3
This entity has an advantaged team mechanic for the kart minigame, where if a team loses, then all players on that time will get 66 damage added onto their kart in the next round.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- TeleportToMinigame <integer >
- Teleports all players to specified minigame.
- SetAdvantageTeam <string >
- Sets which team has an advantage.
- TeleportToRandomMinigame
- Teleports players to a random minigame.
- ReturnFromMinigame
- Forces all players to respawn and ends the minigame.