Game round win: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 7: | Line 7: | ||
==Keyvalues== | ==Keyvalues== | ||
* {{ | * {{KV Targetname}} | ||
* {{kv tfteam}} | * {{kv tfteam}} | ||
* '''force_map_reset''' | * '''force_map_reset''' |
Revision as of 19:59, 19 January 2009
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).
Availability
This point entity is exclusive to Team Fortress 2.
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
- Template:Kv tfteam
- force_map_reset
- <boolean> Force the map to reset during the force respawn after the round is over
- switch_teams
- <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, 2 = red, 3 = blu).
- RoundWin
- Tell the game rules the round is over.
Outputs
- Template:O targetname
- OnRoundWin
- Sent when the entity tells the game rules the round is over.