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 |
No edit summary |
||
Line 1: | Line 1: | ||
{{CD|CGameScore|file1=}} | {{CD|CGameScore|file1=1}} | ||
{{this is a|logical entity|name=game_score|sprite=1}} An [[entity]] that modifies the points of the player who activates it ([[!activator]]). | {{this is a|logical entity|name=game_score|sprite=1}} An [[entity]] that modifies the points of the player who activates it ([[!activator]]). | ||
[[File:Gamescore.jpg|thumb|right|300px|Modified Score of !activator (myself)]] | [[File:Gamescore.jpg|thumb|right|300px|Modified Score of !activator (myself)]] |
Latest revision as of 05:24, 29 April 2025
![]() |
---|
CGameScore |
![]() |

game_score
is a logical entity available in all Source games. An entity that modifies the points of the player who activates it (!activator).

Keyvalues
- 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
- Points to add (+/-) (points) <integer>
- Number of points to add or substract.
- Master (Obsolete) (master) <string>
- Legacy support: The name of a master entity. If the master hasn't been activated, this entity will not activate.
Flags
- Allow Negative : [1]
- Team Points : [2]
Inputs
- ApplyScore
- Add score to player.