Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
This article's documentation is for anything that uses the Source engine. Click here for more information.

game_end

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CGameEnd defined in maprules.cpp
CRulePointEntity
CRuleEntity
CBaseEntity
Game end.png

game_end is a point entity available in all Source 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.

Note.pngNote:The properties of this entity apply to the whole map. Multiple instances of this entity within a map may cause errors.
Icon-Bug.pngBug:In Black Mesa 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.

Keyvalues

Name (targetname) <string>
The targetname that other entities refer to this entity by.
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.