game_round_win

From Valve Developer Community
Revision as of 09:50, 25 January 2014 by Henke37 (talk | contribs) (Might be a good idea to note this surprise)
Jump to navigation Jump to search

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 has either been won (if a team is assigned) or enter Sudden Death mode (if no team is assigned).

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

Team ([todo internal name (i)]) <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
Force map reset ([todo internal name (i)]) <boolean>
Force the map to reset during the force respawn after the round is over.
Switch teams on map win? ([todo internal name (i)]) <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.

Inputs

SetTeam <integerRedirectInput/integer>
Changes the entity's team (this is used to determine which team has won the round (0 = none).
RoundWin
Tell the game rules the round is over.

Outputs

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