Increasing a team's score

Discussion in 'Mapping Questions & Discussion' started by YM, Dec 21, 2007.

  1. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,739
    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.
     
  2. drp

    aa drp

    Messages:
    2,251
    Positive Ratings:
    2,551
    like an event triggering points?
     
  3. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,739
    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.
     
  4. Vilepickle

    Vilepickle L7: Fancy Member

    Messages:
    495
    Positive Ratings:
    147
    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.
     
  5. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,739
    Almost, no cps though.
     
  6. BeelZebub

    BeelZebub Guest

    Positive Ratings:
    0
    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