Game round win: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Updated with data from tf-abs.fgd) |
||
Line 1: | Line 1: | ||
{{ | {{tf2 point|game_round_win}} | ||
==Entity | ==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). | 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== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Team|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 | |||
{{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.}} | |||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | |||
{{IO|SetTeam|Changes the entity's team (this is used to determine which team has won the round (0 {{=}} none).|param=integer}} | |||
{{IO|RoundWin|Tell the game rules the round is over.}} | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | |||
{{IO|OnRoundWin|Sent when the entity tells the game rules the round is over.}} | |||
Revision as of 01:28, 10 May 2011
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.
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.