Game round win: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=game_round_win}}
{{wrongtitle|title=game_round_win}}
{{Tf2 point}}
==Entity Description==
==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).
==Availability==
This point [[entity]] is exclusive to Team Fortress 2.


==Keyvalues==
==Keyvalues==

Revision as of 18:39, 19 December 2010

Template:Wrongtitle Team Fortress 2 {{{1}}} is a point entity available in Team Fortress 2 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 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

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