Game round win: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (updated templates used.)
Line 1: Line 1:
{{lang|Game round win}}
{{tf2 point|game_round_win}}
{{tf2 point|game_round_win}}


==Entity description==
==Entity description==
Tells the game rules that the round has either been won (if a team is assigned) or enter Sudden Death mode (if no team is assigned).
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==
==Keyvalues==
{{KV Targetname}}
{{KV|Team|intn=TeamNum|choices|Setting this to none will result in Sudden Death or a Stalemate, depending on the server's choice.}}
:* 0 : None
:* 2 : Red
:* 3 : Blue
{{KV|Force map reset|intn=force_map_reset|boolean|Force the map to reset during the force respawn after the round is over.
{{KV|Force map reset|intn=force_map_reset|boolean|Force the map to reset during the force respawn after the round is over.
{{KV|Switch teams on map win?|intn=switch_teams|boolean|Switch the teams when the game is going to be reset. {{note|This overrides the setting in any [[team_control_point_master]] entity.}}}}}}
{{KV|Switch teams on map win?|intn=switch_teams|boolean|Switch the teams when the game is going to be reset. {{note|This overrides the setting in any {{ent|team_control_point_master}} entity.}}}}}}
{{KV TeamNum|tf2=1}}
{{KV BaseEntity|base=1}}


==Inputs==
==Inputs==
{{I Targetname}}
{{IO|SetTeam|Changes the entity's team (this is used to determine which team has won the round (0 {{=}} none).|param=integer}}
{{IO|RoundWin|Tell the game rules the round is over.}}
{{IO|RoundWin|Tell the game rules the round is over.}}
{{I TFTeam}}
{{I BaseEntity|base=1}}


==Outputs==
==Outputs==
{{O Targetname}}
{{IO|OnRoundWin|Sent when the entity tells the game rules the round is over.}}
{{IO|OnRoundWin|Sent when the entity tells the game rules the round is over.}}
{{O BaseEntity}}

Revision as of 19:19, 28 April 2022

English (en)Translate (Translate)

Team Fortress 2 game_round_win is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

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.
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.