Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Display Variable in titletext/cut  (Read 1143 times)

0 Members and 1 Guest are viewing this topic.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Display Variable in titletext/cut
« on: 21 Oct 2006, 15:20:03 »
Hi

I have a list of player names each with variable (civ1name , civ2name .... etc) and I want to display these names in a titlecut or titletext script.

titlecut format ["text here","PLAIN DOWN",1]
I know about that, but how can I use that so variables are displayed? I know hint is hint format ["%1 - variable 1\n%2 - variable 2",variable1,variable2], but how can I use titlecut or title text to display the variables in front of the screen.

Thanks for your help  :)

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Display Variable in titletext/cut
« Reply #1 on: 21 Oct 2006, 15:47:10 »
Exactly the same:

Code: [Select]
cutText[format ["%1 %2 ",variable1,variable2],"PLAIN DOWN"]

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: Display Variable in titletext/cut
« Reply #2 on: 21 Oct 2006, 15:54:35 »
Thanks Mandoble  :good: