team_control_point_round
From Valve Developer Community
Contents |
Entity description
Control Point Round (you may have as many of these in the map as you would like).
Availability
This point entity is exclusive to Team Fortress 2.
Keyvalues
-
Targetname:
- Name <string>
- The targetname other entities refer to this entity by.
-
EnableDisable:
- Start Disabled
<bool> - Stay dormant until activated (probably with the Enable input).
- cpr_printname
- <string> LOCALIZED name to print on the RoundInfo panel
- cpr_priority
- <integer> The priority value for this round (must be >= 0). Higher priority rounds will be picked first. If multiple rounds have the same priority value, a random selection will be used.
- cpr_restrict_team_cap_win
- <choices> Prevent this team from winning by capping all the points. Overrides the
cpm_restrict_team_cap_winsetting in team_control_point_master.
Literal Value Description 0 Neither 2 RED 3 BLU
- cpr_cp_names
- <string> Names of the control points included in this round (space delimited). Control points may belong to more than one control point round. The names of the control points (and the rounds) should all be unique.
Inputs
-
Targetname:
-
Kill - Removes this entity from the world.
-
KillHierarchy - Removes this entity and all its children from the world.
-
AddOutput <string> - Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite> -
FireUser1toFireUser4 - Fire the
OnUseroutputs; see User Inputs and Outputs.
-
EnableDisable:
-
Enable -
Disable - Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
-
Targetname:
-
OnUser1toOnUser4 - Fired in response to the
FireUserinputs; see User Inputs and Outputs. -
OnKilled(New with Left 4 Dead) - Fired when the entity is killed and removed from the game.
- OnWonByTeam1
- Sent when RED wins the game.
- OnWonByTeam2
- Sent when BLUE wins the game.
- OnStart
- Sent when this round is selected to be played.
- OnEnd
- Sent when this round is finished.
