Display team scores with a game_text entity

vonDelson

L1: Registered
Sep 23, 2008
42
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?
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
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?
 

vonDelson

L1: Registered
Sep 23, 2008
42
0
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?

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.