Tf logic minigames: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created entity page. [Information from the Jungle Inferno leak of TF2. Fact check the page.])
 
(Added {{MultiPage}} and moved content to /en subpage.)
Tag: Replaced
Line 1: Line 1:
{{tf2 point|tf_logic_minigames}}
{{MultiPage}}
 
{{code class|CTFMinigameLogic|tf_logic_halloween_2014.cpp}}
 
==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==
{{KV BaseEntity}}
 
==Inputs==
{{IO|TeleportToMinigame|Teleports all players to specified minigame.|param=int}}
{{IO|SetAdvantageTeam|Sets which team has an advantage.|param=string}}
{{IO|TeleportToRandomMinigame|Teleports players to a random minigame.}}
{{IO|ReturnFromMinigame|Forces all players to respawn and ends the minigame.}}
{{I BaseEntity}}
 
==Outputs==
{{O BaseEntity}}

Revision as of 18:07, 31 March 2023

Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.