Game 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.
Bug:In
Black Mesa this entity is broken. The only what it does - show score board (that you are able to hide with TAB) and disable return from weapon recoil. Map doesn't change/restart, players still available to play and kill each other. Use game_round_win instead.
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{CD|CGameEnd|file1=maprules.cpp}} | {{CD|CGameEnd|file1=maprules.cpp}} | ||
[[File:game_end.png|left|link=]] | [[File:game_end.png|left|link=]] | ||
{{ | {{This is a|point entity|name=game_end}} It ends a multiplayer game. It does not work in single-player games. The Valve single-player maps end the game with a {{ent|point_clientcommand}} passing <code>startupmenu force</code> to the console. | ||
{{ | {{Map properties note}} | ||
{{bug|hidetested=1|In {{bms|4}} this entity is broken. The only what it does - show score board (that you are able to hide with TAB) and disable return from weapon recoil. Map doesn't change/restart, players still available to play and kill each other. Use | {{bug|hidetested=1|In {{bms|4}} this entity is broken. The only what it does - show score board (that you are able to hide with TAB) and disable return from weapon recoil. Map doesn't change/restart, players still available to play and kill each other. Use {{ent|game_round_win}} instead.}} | ||
== Keyvalues == | == Keyvalues == | ||
Line 10: | Line 10: | ||
== Inputs == | == Inputs == | ||
{{ | {{I|EndGame|End the multiplayer game.}} |
Revision as of 21:59, 18 March 2025
![]() |
---|
CGameEnd |
![]() |

game_end
is a point entity available in all Source games. It ends a multiplayer game. It does not work in single-player games. The Valve single-player maps end the game with a point_clientcommand passing
startupmenu force
to the console.



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
- Master (obsolete) (master) <string>
- Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
Inputs
- EndGame
- End the multiplayer game.