Game round win: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Flags: rem)
mNo edit summary
Line 13: Line 13:
* '''switch_teams'''
* '''switch_teams'''
: <boolean> Switch the teams when the game is going to be reset.
: <boolean> Switch the teams when the game is going to be reset.
<!--==Flags==
<!--==Flags==
This entity doesn't have any flags.
This entity doesn't have any flags.
-->
-->
==Inputs==
==Inputs==
* {{i targetname}}
* {{i targetname}}

Revision as of 09:16, 27 September 2007

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

<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

<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.