game_round_win
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.
| CTeamplayRoundWin |
Entity icon by ficool2.
game_round_win is a point entity available in
Team Fortress 2 and
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
Black Mesa triggers victory for either of the teams; if in deathmatch, regular end of round is triggered.
Keyvalues
- Name (targetname) <string>
-
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
- WINREASON_NONE
- WINREASON_ALL_POINTS_CAPTURED
- WINREASON_OPPONENTS_DEAD
- WINREASON_FLAG_CAPTURE_LIMIT
- WINREASON_DEFEND_UNTIL_TIME_LIMIT
- WINREASON_STALEMATE
- WINREASON_TIMELIMIT
- WINREASON_WINLIMIT
- WINREASON_WINDIFFLIMIT
- WINREASON_RD_REACTOR_CAPTURED (only in
)
- WINREASON_RD_CORES_COLLECTED (only in
)
- WINREASON_RD_REACTOR_RETURNED (only in
)
- WINREASON_PD_POINTS (only in
)
- WINREASON_SCORED (only in
)
- WINREASON_STOPWATCH_WATCHING_ROUNDS (only in
)
- WINREASON_STOPWATCH_WATCHING_FINAL_ROUND (only in
)
- WINREASON_STOPWATCH_PLAYING_ROUNDS (only in
)
- 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 FalseandTeamNumis 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.
-
Initial Team (TeamNum, or teamnumber
) <integer choices>
-
Which team the entity belongs / is assigned to on spawn
- 0: None, Neutral


- 1: Spectator, Spectator/Halloween Souls

- 2: RED
, Survivors 
, Terrorists
, Allies
, Marines (Team-based game modes only) 
- 3: BLU/Robots
, Infected 
, Counter-Terrorists
, Axis
, Scientists (Team-based game modes only) 
- 5: Halloween Bosses (only in
) !FGD
- 0: None, Neutral
Inputs
- RoundWin
- Tell the game rules the round is over.
Outputs
- OnRoundWin
- !activator = !caller = this entity
Sent when the entity tells the game rules the round is over.
See also
- game_end
game_round_end - analogous entity