Increasing a team's score

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Is there a command or something that increases a certain team's score when a certain thing happens? Like a command that can be fired from a point_servercommand.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
I wasn't very clear, sorry.
I have a trigger and when an object hits that trigger I wan't one team's score to be incremented by one, and If posible for the player's score to also rise by one.
I aws speculating this could be done with a point_servercommand but I'm not sure what command or even if there is a command.
 

Vilepickle

Banned
Oct 25, 2007
372
199
The closest thing seems to be the new Dustbowl command in the master control point entity. I think the key is like score_system 1. It'll make each CP capped count as a point.
 
B

BeelZebub

The entity you are looking for is game_score. It doesn't work properly for individual players (it adds to their kill total, but doesn't change the score). But it does work if you set the "Team Points" flag. Just make sure that the "!activator" is a member of the team you want to add points to.

http://developer.valvesoftware.com/wiki/Game_score