game_round_end

From Valve Developer Community
Revision as of 09:10, 7 January 2024 by WisdomBot (talk | contribs) (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Jump to navigation Jump to search

game_round_end is an e0 available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{csgo}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Counter-Strike: Global Offensive.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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. Parameter is how long until the next round starts (normal time is 7).
EndRound_TerroristsWin <floatRedirectInput/float>
End the round, terrorists win after x seconds. Parameter is how long until the next round starts.
EndRound_CounterTerroristsWin <floatRedirectInput/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.