Game score: Difference between revisions
Jump to navigation
Jump to search

Note:This entity cannot be used to affect the scores of teams/players in Left 4 Dead / Left 4 Dead 2.
No edit summary |
|||
Line 1: | Line 1: | ||
[[ | [[Image:Gamescore.jpg|thumb|right|300px|Modified Score of !activator (myself)]] | ||
{{base point|game_score}} An [[entity]] that modifies the points of the player who activates it ([[!activator]]). | {{base point|game_score}} | ||
==Entity description== | |||
[[File:{{PAGENAME}}.png|left|link=]] An [[entity]] that modifies the points of the player who activates it ([[!activator]]). | |||
In code it is represented by class CGameScore, defined in maprules.cpp. | In code it is represented by class CGameScore, defined in maprules.cpp. | ||
{{note|This entity cannot be used to affect the scores of teams/players in [[Left 4 Dead]] / [[Left 4 Dead 2]].}} | {{note|This entity cannot be used to affect the scores of teams/players in [[Left 4 Dead]] / [[Left 4 Dead 2]].}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Points to add (+/-)|integer|Number of points to add or substract.}} | {{KV|Points to add (+/-)|integer|Number of points to add or substract.}} |
Revision as of 11:18, 8 May 2012
Entity description

An entity that modifies the points of the player who activates it (!activator).
In code it is represented by class CGameScore, defined in maprules.cpp.

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
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
- 1 : Allow Negative
- 2 : Team Points
Inputs
- ApplyScore
- Add score to player.