Bioware Archive
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Login
Register
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
Line Breaks in Conversations
« previous
next »
Print
Pages: [
1
]
Author
Topic: Line Breaks in Conversations (Read 377 times)
Legacy_Johnas Lorika
Newbie
Posts: 6
Karma: +0/-0
Line Breaks in Conversations
«
on:
September 23, 2011, 02:24:14 am »
Is there any newline code that can be used in conversations for formatting purposes? I've tried some of the versions useable in other scripting/programming languages but to no avail. It feels really odd to use a bunch of spaces to accomplish this... Thanks!
Logged
Legacy_Failed.Bard
Hero Member
Posts: 1409
Karma: +0/-0
Line Breaks in Conversations
«
Reply #1 on:
September 23, 2011, 02:37:16 am »
\\n works in most text situations as a line break in nwn.
Logged
Legacy_Axe_Murderer
Full Member
Posts: 199
Karma: +0/-0
Line Breaks in Conversations
«
Reply #2 on:
September 24, 2011, 03:06:32 am »
You can just type them directly into the conversation editor using the return key.
Logged
Legacy__six
Hero Member
Posts: 1436
Karma: +0/-0
Line Breaks in Conversations
«
Reply #3 on:
September 24, 2011, 04:58:17 am »
There's also a few places where if just hitting enter won't work, holding shift and hitting enter will.
Logged
Legacy_Johnas Lorika
Newbie
Posts: 6
Karma: +0/-0
Line Breaks in Conversations
«
Reply #4 on:
September 24, 2011, 10:45:38 pm »
Thanks, I shall learn to attempt to hit my enter key when it is needed.
'>
Logged
Legacy_henesua
Hero Member
Posts: 6519
Karma: +0/-0
Line Breaks in Conversations
«
Reply #5 on:
January 02, 2012, 04:47:41 am »
What about giving a custom token string to be used in conversation a line break?
What characters can you use to include a line break in the string?
Logged
Legacy_Lightfoot8
Hero Member
Posts: 4797
Karma: +0/-0
Line Breaks in Conversations
«
Reply #6 on:
January 02, 2012, 05:07:28 am »
nwn uses the linux/unix standard of 0x0A or 10 in decimal or Control-J. However you want to look at it.
Logged
Legacy_henesua
Hero Member
Posts: 6519
Karma: +0/-0
Line Breaks in Conversations
«
Reply #7 on:
January 02, 2012, 05:46:22 am »
If I have a string variable in a script how do I insert that into it?
Logged
Legacy_Lightfoot8
Hero Member
Posts: 4797
Karma: +0/-0
Line Breaks in Conversations
«
Reply #8 on:
January 02, 2012, 05:59:12 am »
You can just find one in the talk table if you wanted to. Let me look real quick.
Logged
Legacy_Lightfoot8
Hero Member
Posts: 4797
Karma: +0/-0
Line Breaks in Conversations
«
Reply #9 on:
January 02, 2012, 06:14:03 am »
Something like. SetCustomToken(XXX,GetSubString(GetStringByStrRef(54),37,1 ));
Logged
Legacy_henesua
Hero Member
Posts: 6519
Karma: +0/-0
Line Breaks in Conversations
«
Reply #10 on:
January 02, 2012, 07:25:24 am »
thanks
Logged
Print
Pages: [
1
]
« previous
next »
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
Line Breaks in Conversations