OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bardosy on 07 Dec 2005, 11:20:08

Title: stringtable.csv
Post by: bardosy on 07 Dec 2005, 11:20:08
I search for a topic about stringtable, but didn't find. Then I start one.

Mikero - who wrote a tutorial about stringtable - and me talking about problems in PM, but I think we can remove this chat to a public topic. And I hope someone can help me.

I tried use stringtable.csv to store the dialogue subtitles. But deasn't work.
I use outer sqs script in my mission for cutscene and any other speaking part. And in the sqs I use TitleText command. And when I tried the stringtable, I tried this:
Code: [Select]
TitleText [$STR_CONV1,"PLAIN DOWN"]
but error msg said: invalid number in expression.

Mikero advise testing not in Mission Editor, because the stringtable works only in Mission and Campaign folders. But he also tested the TitleText command and doesn't wort from outer script too.

Can anybody help me? How the original BIS missions works? They use the all TitleText command in mission sqm, not in outer script?
Title: Re:stringtable.csv
Post by: macguba on 07 Dec 2005, 12:16:32
Try my beta stringtable tute, (http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=26376) attached to the first post.   It has lots of examples and an example mission.

titleText [localize "STR_MISC_1", localize "STR_MISC_2",1]

Testing in the mission editor works fine.
Title: Re:stringtable.csv
Post by: bardosy on 07 Dec 2005, 15:13:48
THANKS!

And sorry, I used the "search in the FAQ" feature, not the "search in the Forum" button...  >:(