10-25-2014, 01:47 PM
I think I already know the answer to this question... and it's "no", but I thought I'd ask anyway in case some genius out there has found a solution.
Is it possible to display programmatic (script-generated) text, that is either not produced from a lang file, or is an altered version of a lang entry, using tokens or something like that.
I know there are various ways you can script text entities to appear in the world, but I was specifically wondering about HUD text.
For example, is there a work around that could achieve the same thing as these made-up, non-existent functions?
or
Any thoughts?
Is it possible to display programmatic (script-generated) text, that is either not produced from a lang file, or is an altered version of a lang entry, using tokens or something like that.
I know there are various ways you can script text entities to appear in the world, but I was specifically wondering about HUD text.
For example, is there a work around that could achieve the same thing as these made-up, non-existent functions?
Code:
SetCustomMessage("I like apples!", 5.0f);Code:
string FruitString = "apples";
CreateLangEntry("Custom", "FruitILike", "I like " + FruitString + "!");
SetMessage("Custom", "FruitILike", 5.0f);Any thoughts?


