OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gadjuka on 20 Jun 2005, 00:27:07

Title: Newline in dialogs?
Post by: Gadjuka on 20 Jun 2005, 00:27:07
Hi!
Does anyone know if it's possible to have newlines in a text-field in a dialog? I have tried the usual "\n" but it is just written out as \n instead of making a line break.
Is there a way? I rather not split up the string in several text-fields... ???
Title: Re:Newline in dialogs?
Post by: Planck on 20 Jun 2005, 01:04:39
It is \n is it......or is it /n.......I can never remember.


Planck
Title: Re:Newline in dialogs?
Post by: CopyrightPhilly on 20 Jun 2005, 03:34:20
\n
Title: Re:Newline in dialogs?
Post by: Sui on 20 Jun 2005, 04:26:18
Unfortunately, I don't think it's possible in a dialog.

I tended to use two dialog entries, one for each line. For instance, the text in the white box here:

[img removed]TBGshot4Circled.jpg[/img]

Is actually two separate resource entries. I couldn't work out how to make it use the nextline character.

Are you able to use a work around to get the desired effect you're after?
Title: Re:Newline in dialogs?
Post by: Gadjuka on 20 Jun 2005, 13:04:30
Ok, thanks! It was as I suspected then...
I will have to use several resources even if it requires more work.  :(