Game round end: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed {{DISPLAYTITLE}}, covered by the csgo point template)
(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}}  
{{warning|The <code>EndRound</code>-inputs need a <code><float></code> as parameter and seem to be '''non-functional if they are received without parameter'''. Try <code>7.0</code> for example (the time in seconds until the next round starts, like <code>mp_round_restart_delay</code>), if you use <code>0.0</code>, then the next round starts immediately!}}


==Entity description==
==Entity description==

Revision as of 04:09, 23 December 2019

game_round_end is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Warning.pngWarning:The EndRound-inputs need a <float> as parameter and seem to be non-functional if they are received without parameter. Try 7.0 for example (the time in seconds until the next round starts, like mp_round_restart_delay), if you use 0.0, then the next round starts immediately!

Entity description

Game end.png

An entity that ends a multiplayer game round.

Template:Map properties

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

Inputs

EndRound_Draw <floatRedirectInput/float>
End the round in a draw after x seconds.
EndRound_TerroristsWin <floatRedirectInput/float>
End the round, terrorists win after x seconds.
EndRound_CounterTerroristsWin <floatRedirectInput/float>
End the round, CTs win after x seconds.

Outputs

OnRoundEnded <void>
Fires when the round ends regardless of it ended via input to this entity or not.