logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
What kind of line breaks do NWN convos use?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related
View previous topic :: View next topic  
Author Message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Thu Jul 03, 2008 14:18    Post subject: What kind of line breaks do NWN convos use? Reply with quote

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
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Thu Jul 03, 2008 19:36    Post subject: Reply with quote

Line break in SpeakStrings with /n

Funky
Back to top
View user's profile Send private message
TroveLord



Joined: 22 Nov 2006
Posts: 136
Location: Italy

PostPosted: Thu Jul 03, 2008 21:29    Post subject: Reply with quote

FunkySwerve wrote:
/n

with the backslash. \n
Back to top
View user's profile Send private message
Disco



Joined: 06 Dec 2006
Posts: 152

PostPosted: Thu Jul 03, 2008 22:50    Post subject: Reply with quote

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
View user's profile Send private message
FunkySwerve



Joined: 02 Jun 2005
Posts: 377

PostPosted: Sat Jul 05, 2008 0:06    Post subject: Reply with quote

TroveLord wrote:
FunkySwerve wrote:
/n

with the backslash. \n


Oops, brain fart, ty. Razz

Funky
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group