Game round win

From Valve Developer Community
Revision as of 20:00, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle

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 or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • TeamNum:
Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator/Halloween Souls Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD


  • 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

Sent when the entity tells the game rules the round is over.