The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
programmatic text
MrBehemoth Offline
Senior Member

Posts: 408
Threads: 19
Joined: Feb 2014
Reputation: 40
#1
programmatic text

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?
SetCustomMessage("I like apples!", 5.0f);
or
string FruitString = "apples";
CreateLangEntry("Custom", "FruitILike", "I like " + FruitString + "!");
SetMessage("Custom", "FruitILike", 5.0f);

Any thoughts?

10-25-2014, 01:47 PM
Find


Messages In This Thread
programmatic text - by MrBehemoth - 10-25-2014, 01:47 PM
RE: programmatic text - by Romulator - 10-25-2014, 03:35 PM
RE: programmatic text - by MrBehemoth - 10-26-2014, 10:56 PM
RE: programmatic text - by Daemian - 10-27-2014, 01:15 PM
RE: programmatic text - by MrBehemoth - 10-27-2014, 06:20 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 12:08 PM
RE: programmatic text - by MrBehemoth - 10-28-2014, 06:10 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 07:08 PM
RE: programmatic text - by Romulator - 10-27-2014, 09:24 AM
RE: programmatic text - by Ongka - 10-27-2014, 12:21 PM
RE: programmatic text - by Mudbill - 10-28-2014, 12:19 PM
RE: programmatic text - by FlawlessHappiness - 10-28-2014, 12:27 PM
RE: programmatic text - by Mudbill - 10-28-2014, 01:15 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 03:51 PM
RE: programmatic text - by Daemian - 11-01-2014, 04:04 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 04:23 PM
RE: programmatic text - by Mudbill - 11-01-2014, 04:38 PM
RE: programmatic text - by Daemian - 11-01-2014, 06:53 PM
RE: programmatic text - by MrBehemoth - 11-01-2014, 08:13 PM



Users browsing this thread: 3 Guest(s)