Game round end: Difference between revisions
Jump to navigation
Jump to search
(Added warning that the EndRound-inputs are probably non-functional with <none> as parameter instead of a <float>) |
(-_-) |
||
Line 1: | Line 1: | ||
{{csgo point|game_round_end}} | {{csgo point|game_round_end}} | ||
==Entity description== | ==Entity description== | ||
Line 14: | Line 12: | ||
== Inputs == | == Inputs == | ||
{{I Targetname}} | {{I Targetname}} | ||
{{IO|EndRound_Draw|End the round in a draw after x seconds.|param=float}} | {{IO|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}} | ||
{{IO|EndRound_TerroristsWin|End the round, terrorists win after x seconds.|param=float}} | {{IO|EndRound_TerroristsWin|End the round, terrorists win after x seconds. Parameter is how long until the next round starts.|param=float}} | ||
{{IO|EndRound_CounterTerroristsWin|End the round, CTs win after x seconds.|param=float}} | {{IO|EndRound_CounterTerroristsWin|End the round, CTs win after x seconds. Parameter is how long until the next round starts.|param=float}} | ||
== Outputs == | == Outputs == | ||
{{O Targetname}} | {{O Targetname}} | ||
{{IO|OnRoundEnded|Fires when the round ends regardless of it ended via input to this entity or not.|param=void}} | {{IO|OnRoundEnded|Fires when the round ends regardless of it ended via input to this entity or not.|param=void}} |
Revision as of 09:53, 23 December 2019
game_round_end
is a point entity available in Counter-Strike: Global Offensive.
Entity description

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.