Display team scores with a game_text entity

Discussion in 'Mapping Questions & Discussion' started by vonDelson, Jun 24, 2010.

  1. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Hi all!

    Is there a way to display current team scores on screen using two game_text entities? The only way I can think of is to use a variable in the 'text' field of the entity:

    Text = "The RED team has %redpoints% points"

    But I'm way too n00b to know if variables even exist in Source. :rolleyes:

    If not: any other ideas?
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    Nope. You can't use variables nor piece things together. You'd have to use a whole bunch of them (one for the beginning, one for the end, and tons for the numbers) and line them up. :/

    Might I ask what's wrong with the score on the hud/scoreboard?
     
  3. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Thanks, I was afraid that variables don't exist in Source...

    It's for my Murderball map. Players get team points for holding the ball, and it would be real handy to display the score on screen without pressing the TAB key.