Game round win: Difference between revisions
Jump to navigation
Jump to search
(Updated with data from tf-abs.fgd) |
(Might be a good idea to note this surprise) |
||
Line 10: | Line 10: | ||
:* 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|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.}} | {{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.}}}}}} | ||
==Inputs== | ==Inputs== |
Revision as of 09:50, 25 January 2014
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 ([todo internal name (i)]) <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 ([todo internal name (i)]) <boolean>
- Force the map to reset during the force respawn after the round is over.
- Switch teams on map win? ([todo internal name (i)]) <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.