Game score: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: Removed dead links)
m (Robot: fixing template case.)
Line 20: Line 20:


==Inputs==
==Inputs==
*{{i targetname}}
*{{I Targetname}}
*'''ApplyScore'''
*'''ApplyScore'''
:Add score to player.
:Add score to player.

Revision as of 19:37, 19 January 2009

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

<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