Game round end: Difference between revisions
Jump to navigation
Jump to search

Note:The properties of this entity apply to the whole map. Multiple instances of this entity within a map may cause errors.
(-cleanup, see also) |
(-added class hierarchy) |
||
Line 1: | Line 1: | ||
{{ | {{CD|CGameRoundEnd|base=CRulePointEntity|file1=maprules.cpp}} | ||
{{ | {{This is a|point entity|game=Counter-Strike: Global Offensive|name=game_round_end|sprite=game_end.png}} An entity that ends a multiplayer game round. | ||
{{Map properties note}} | |||
__NOTOC__ | __NOTOC__ | ||
Line 7: | Line 8: | ||
== Inputs == | == Inputs == | ||
{{ | {{I|EndRound_Draw|End the round in a draw after x seconds. Parameter is how long until the next round starts (normal time is 7).|param=float}} | ||
{{ | {{I|EndRound_TerroristsWin|End the round, terrorists win after x seconds. Parameter is how long until the next round starts.|param=float}} | ||
{{ | {{I|EndRound_CounterTerroristsWin|End the round, CTs win after x seconds. Parameter is how long until the next round starts.|param=float}} | ||
== Outputs == | == Outputs == | ||
{{ | {{O|OnRoundEnded|Fires when the round ends regardless of it ended via input to this entity or not.|param=void}} | ||
== See Also == | == See Also == | ||
* {{ent|info_map_parameters/Counter-Strike series|alt=info_map_parameters}} | * {{ent|info_map_parameters/Counter-Strike series|alt=info_map_parameters}} |
Revision as of 22:05, 18 March 2025
![]() |
---|
CGameRoundEnd |
![]() |

game_round_end
is a point entity available in Counter-Strike: Global Offensive. An entity that ends a multiplayer game round.

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
Inputs
- EndRound_Draw <float >
- End the round in a draw after x seconds. Parameter is how long until the next round starts (normal time is 7).
- EndRound_TerroristsWin <float >
- End the round, terrorists win after x seconds. Parameter is how long until the next round starts.
- EndRound_CounterTerroristsWin <float >
- End the round, CTs win after x seconds. Parameter is how long until the next round starts.
Outputs
- OnRoundEnded <void>
- Fires when the round ends regardless of it ended via input to this entity or not.