View previous topic :: View next topic |
Author |
Message |
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Thu Jul 03, 2008 14:18 Post subject: What kind of line breaks do NWN convos use? |
|
|
Hey there. I want to show some databased text inside an NWN convo via a custom token (and possibly also via SpeakString). Works quite well, except for the line breaks which are shown as "I dunno what dis is, Sir?" squares.
Any of you know the proper character for those breaks? |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Thu Jul 03, 2008 19:36 Post subject: |
|
|
Line break in SpeakStrings with /n
Funky |
|
Back to top |
|
|
TroveLord
Joined: 22 Nov 2006 Posts: 136 Location: Italy
|
Posted: Thu Jul 03, 2008 21:29 Post subject: |
|
|
with the backslash. \n |
|
Back to top |
|
|
Disco
Joined: 06 Dec 2006 Posts: 152
|
Posted: Thu Jul 03, 2008 22:50 Post subject: |
|
|
Strange. When I put \n in a string in NWNscript and use that in SpeakString or SetCustomToken it works, but when I import a string with \n in it from the database I see it as \n. Might that be some character set problem?
[EDIT: found out it was PhpMyAdmin that's messing up my stuff!] |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Sat Jul 05, 2008 0:06 Post subject: |
|
|
TroveLord wrote: |
with the backslash. \n |
Oops, brain fart, ty.
Funky |
|
Back to top |
|
|
|