Game end: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{map_properties}}
{{map_properties}}


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


{{clr}}
{{clr}}

Revision as of 17:24, 30 July 2011

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

C++ In code, it is represented by theCGameEndclass, defined in themaprules.cppfile.

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