Game round win: Difference between revisions
Jump to navigation
Jump to search
(Might be a good idea to note this surprise) |
Gatelych83 (talk | contribs) |
||
Line 6: | Line 6: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Team|choices|Setting this to none will result in Sudden Death or a Stalemate, depending on the server's choice.}} | {{KV|Team|intn=TeamNum|choices|Setting this to none will result in Sudden Death or a Stalemate, depending on the server's choice.}} | ||
:* 0 : None | :* 0 : None | ||
:* 2 : Red | :* 2 : Red | ||
:* 3 : Blue | :* 3 : Blue | ||
{{KV|Force map reset|boolean|Force the map to reset during the force respawn after the round is over. | {{KV|Force map reset|intn=force_map_reset|boolean|Force the map to reset during the force respawn after the round is over. | ||
{{KV|Switch teams on map win?|boolean|Switch the teams when the game is going to be reset. {{note|This overrides the setting in any [[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 [[team_control_point_master]] entity.}}}}}} | ||
==Inputs== | ==Inputs== |
Revision as of 12:49, 3 March 2022
game_round_win
is a point entity available in 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
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Team (TeamNum) <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 (force_map_reset) <boolean>
- Force the map to reset during the force respawn after the round is over.
- 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.
Inputs
- SetTeam <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.