Home   Help Search Login Register  

Author Topic: Display Variable in titletext/cut  (Read 997 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: