Game end: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 12: Line 12:


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

Revision as of 19:57, 19 January 2009

Template:Wrongtitle Template:Base point


Entity Description

Game end.png

An entity that ends a multiplayer game. Does not work in single-player games.

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

Keyvalues

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

  • 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.

Outputs