game_round_win

From Valve Developer Community
Revision as of 17:31, 24 May 2023 by Mrks (talk | contribs) (added a bug panel)
Jump to navigation Jump to search
English (en)Translate (Translate)

Team Fortress 2 game_round_win is a point entity available in Team Fortress 2 Team Fortress 2. It tells the game rules that the round either has been won (if a team is assigned) or should enter Sudden Death mode (if no team is assigned).

Keyvalues

Force map reset (force_map_reset) <boolean>
Force the map to reset during the force respawn after the round is over. Template:ModernBug
Switch teams on map win? (switch_teams) <boolean>
Switch the teams when the game is going to be reset.
Note.pngNote:This overrides the setting in any team_control_point_master entity.
TeamNum:
Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator/Halloween Souls Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD


Inputs

RoundWin
Tell the game rules the round is over.
SetTeam <integerRedirectInput/integer>
Changes the entity's team.


Outputs

OnRoundWin
Sent when the entity tells the game rules the round is over.