Game end: Difference between revisions
Jump to navigation
Jump to search
(-added class hierarchy, cleanup) |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
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|name=game_end|e0}} 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 <code>startupmenu force</code> to the console. | ||
{{map_properties}} | {{map_properties}} | ||
Revision as of 11:06, 4 January 2024
![]() |
---|
CGameEnd |
![]() |

game_end
is an e0 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.
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
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.