game_round_win
Jump to navigation
Jump to search



Entity icon by Ficool2.
game_round_win
is an e0 available in Team Fortress 2. It is also avaible 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
Black Mesa triggers victory for either of the teams; if in deathmatch, regular end of round is triggered.
Keyvalues
- 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
False
andTeamNum
is nonzero, theRoundWin
input often causes crashes. It is best practice to have this set toTrue
unless you have a reason not to. [todo tested in ?]
- 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.
TeamNum:
- Initial Team (TeamNum, or teamnumber
) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator, Spectator/Halloween Souls
- 2: RED
, Survivors
, Terrorists
, Marines (Team-based game modes only)
- 3: BLU/Robots
, Infected
, Counter-Terrorists
, Scientists (Team-based game modes only)
- 5: Halloween Bosses (only in
) !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.