Game round win: Difference between revisions
Jump to navigation
Jump to search

m (added a bug panel) |
m (a little change to my previous edit) |
||
| Line 3: | Line 3: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Force map reset|intn=force_map_reset|boolean|Force the map to reset during the force respawn after the round is over. {{ModernBug|If this is set to <code>False</code> and | {{KV|Force map reset|intn=force_map_reset|boolean|Force the map to reset during the force respawn after the round is over. {{ModernBug|If this is set to <code>False</code> and <code>TeamNum</code> is nonzero, the <code>RoundWin</code> input often causes crashes. It is best practice to have this set to <code>True</code> unless you have a reason not to.}} | ||
{{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|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 TeamNum|tf2=1}} | ||
Revision as of 17:31, 24 May 2023
game_round_win is a point entity available 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).
Keyvalues
- Force map reset (force_map_reset) <boolean>
- Force the map to reset during the force respawn after the round is over. Template:ModernBug
- 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:
Inputs
- RoundWin
- Tell the game rules the round is over.
Outputs
- OnRoundWin
- Sent when the entity tells the game rules the round is over.