Game end: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=game_end}}
[[File:Game end.png|left|link=]]
{{base_point}}


 
{{base point|game_end}} It ends a multiplayer game. Does not work in single-player games.
 
{{map_properties}}
==Entity Description==
[[Image:Game end.png|left]]An [[entity]] that ends a multiplayer game. Does not work in single-player games.
* {{map_properties}}
{{clr}}
{{clr}}


In code it is represented by class CGameEnd, defined in maprules.cpp.
In code it is represented by class CGameEnd, defined in maprules.cpp.


==Keyvalues==
== Keyvalues ==
*{{KV Targetname}}
{{KV|Master (Obsolete)|string|Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.}}
*'''master'''
{{KV Targetname}}
:<string> Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.


==Inputs==
== Inputs ==
*{{I Targetname}}
{{IO|EndGame|End the multiplayer game.}}
*'''EndGame'''
{{I Targetname}}
:End the multiplayer game.


==Outputs==
== Outputs ==
*{{O Targetname}}
{{O Targetname}}

Revision as of 06:21, 26 July 2011

Game end.png

Template:Base point It ends a multiplayer game. Does not work in single-player games. Template:Map properties

In code it is represented by class CGameEnd, defined in maprules.cpp.

Keyvalues

Master (Obsolete) ([todo internal name (i)]) <string>
Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
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

EndGame
End the multiplayer game.


Outputs