Ok.
I have a math_counter, initial value 0.
I have 3 func_buttons. Each button adds a value of 100 to the initial value of the math_counter.
So when all the buttons are pressed, the value should be 300.
Now i want to display this value to the player. I was thinking about a game_text. But i can't figure out a way to make game_text display the value of the math_counter to the player, since you're only allowed to type in text in the Text to display property field.
So is there way to do this?
Valve should inplement something like this:
Lets say mcounter_score is the name of the math_counter entity.
Then, in the Text to display property of the game_text, you type in:
mcounter_score(value)
So that the game_text displays the value of the entity named mcounter_score.
But nooo...