Game score

From Valve Developer Community
Revision as of 20:10, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity Description

Game score.png

An entity that modifies the points of the player who activates it.

In code it is represented by class CGameScore, 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

  • points
<integer> Points to add (+/-).
  • master
<string> Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.

Flags

  • 1 : Allow Negative
  • 2 : Team Points

Inputs

  • ApplyScore
Add score to player.

Outputs