Game round win: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 
  
 Bug:It doesn't triggers victory in Black Mesa if warm up time and warm up intermission time is not finished.
Bug:It doesn't triggers victory in Black Mesa if warm up time and warm up intermission time is not finished.
		
	
| MyGamepedia (talk | contribs) No edit summary | MyGamepedia (talk | contribs)  No edit summary | ||
| Line 3: | Line 3: | ||
| [[File:game_round_win.png|frame|right|Entity icon by [https://developer.valvesoftware.com/wiki/Category:Ficool2_tools ficool2].]] | [[File:game_round_win.png|frame|right|Entity icon by [https://developer.valvesoftware.com/wiki/Category:Ficool2_tools ficool2].]] | ||
| {{this is a|point entity|name=game_round_win|game=Team Fortress 2}} It is also available in {{bms|4}}. In {{tf2|4}} 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). In {{bms|4}} triggers victory for either of the teams; if in deathmatch, regular end of round is triggered. | {{this is a|point entity|name=game_round_win|game=Team Fortress 2}} It is also available in {{bms|4}}. In {{tf2|4}} 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). In {{bms|4}} triggers victory for either of the teams; if in deathmatch, regular end of round is triggered. | ||
| {{bug|It doesn't triggers victory in {{bms| | {{bug|hidetested=1|It doesn't triggers victory in {{bms|1}} if warm up time and warm up intermission time is not finished.}} | ||
| == Keyvalues == | == Keyvalues == | ||
Revision as of 09:53, 28 May 2025

 
|  Class hierarchy | 
|---|
| CTeamplayRoundWin | 
|  entity_roundwin.cpp | 
 
  Entity icon by ficool2.
game_round_win  is a   point entity  available in  Team Fortress 2. It is also available in
 Team Fortress 2. It is also available in  Black Mesa. In
 Black Mesa. In  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). In
 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). In  Black Mesa triggers victory for either of the teams; if in deathmatch, regular end of round is triggered.
 Black Mesa triggers victory for either of the teams; if in deathmatch, regular end of round is triggered.
 Bug:It doesn't triggers victory in Black Mesa if warm up time and warm up intermission time is not finished.
Bug:It doesn't triggers victory in Black Mesa if warm up time and warm up intermission time is not finished.Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Force map reset (force_map_reset) <boolean>
- Force the map to reset during the force respawn after the round is over.  Bug:If this is set to Bug:If this is set toFalseandTeamNumis nonzero, theRoundWininput often causes crashes. It is best practice to have this set toTrueunless you have a reason not to.
- Switch teams on map win? (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. Note:This overrides the setting in any team_control_point_master entity.
TeamNum:
- Initial Team (TeamNum, or teamnumber  )  <integer choices> )  <integer choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator, Spectator/Halloween Souls  
- 2: RED  , Survivors , Survivors  , Terrorists , Terrorists   , Marines (Team-based game modes only) , Marines (Team-based game modes only) 
- 3: BLU/Robots  , Infected , Infected  , Counter-Terrorists , Counter-Terrorists   , Scientists (Team-based game modes only) , Scientists (Team-based game modes only) 
- 5: Halloween Bosses (only in  ) !FGD ) !FGD
 
Inputs
- RoundWin
- Tell the game rules the round is over.
Outputs
- OnRoundWin
- Sent when the entity tells the game rules the round is over.
See also
- game_end
 game_round_end - analogous entity game_round_end - analogous entity























