Game score: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
Impossible9 (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
==Entity Description== | ==Entity Description== | ||
[[Image:{{PAGENAME}}.png|left]] | [[Image:{{PAGENAME}}.png|left]] | ||
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([[!activator]]).{{clr}} | ||
In code it is represented by class CGameScore, defined in maprules.cpp. | In code it is represented by class CGameScore, defined in maprules.cpp.{{clr}} | ||
This entity cannot be used to affect the scores of teams/players in [[Left 4 Dead]].{{clr}} | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 09:30, 5 September 2010
Template:Wrongtitle Template:Base point
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.
This entity cannot be used to affect the scores of teams/players in Left 4 Dead.
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
- <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.