Game score: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(→‎Entity Description: Removed dead links)
Line 6: Line 6:
An entity that modifies the points of the player who activates it.{{clr}}
An entity that modifies the points of the player who activates it.{{clr}}


{{in code|class=class_c_game_score.html CGameScore|file=maprules_8cpp-source.html maprules.cpp}}
In code it is represented by class CGameScore, defined in maprules.cpp.


==Keyvalues==
==Keyvalues==

Revision as of 15:21, 14 December 2008

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

Add score to player.

Outputs