OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: JasonO 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 :)
-
Exactly the same:
cutText[format ["%1 %2 ",variable1,variable2],"PLAIN DOWN"]
-
Thanks Mandoble :good: