Skip to main content

game_score

game_score icon
Point entity

A game_score adds points to the score of the player who triggers it, or takes points away.

Attributes​

KeyDescriptionDefault
Nametargetname

Triggering the entity changes the score of the player who started the chain of triggers. Only a player can do it. See Common keys.

Points to addpoints

Sets the points added to the score, and a negative number takes points away.

If you leave this key empty, it is 0 and the score doesn't change.

Default 1
Mastermaster

Names a master, and while the master is off, triggering the entity does nothing.

Flags​

1Allow Negative

Taking points can push a score below 0. Without this flag, a score stops at 0

2Team Points

The points go to the teammates of the player instead of the player. The game modes have no teams, so nobody gets them

See also​

Changes since 1.38​

  • A trigger with no player at the start of the chain of triggers does nothing. In SBO 1.38, as in Half-Life, it crashed the server