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!
Line Breaks in Conversations
Débuté par
Johnas Lorika
, sept. 23 2011 01:24
#1
Posté 23 septembre 2011 - 01:24
#2
Posté 23 septembre 2011 - 01:37
\\n works in most text situations as a line break in nwn.
#3
Posté 24 septembre 2011 - 02:06
You can just type them directly into the conversation editor using the return key.
#4
Posté 24 septembre 2011 - 03:58
There's also a few places where if just hitting enter won't work, holding shift and hitting enter will.
#5
Posté 24 septembre 2011 - 09:45
Thanks, I shall learn to attempt to hit my enter key when it is needed.
#6
Posté 02 janvier 2012 - 04:47
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?
What characters can you use to include a line break in the string?
#7
Posté 02 janvier 2012 - 05:07
nwn uses the linux/unix standard of 0x0A or 10 in decimal or Control-J. However you want to look at it.
#8
Posté 02 janvier 2012 - 05:46
If I have a string variable in a script how do I insert that into it?
#9
Posté 02 janvier 2012 - 05:59
You can just find one in the talk table if you wanted to. Let me look real quick.
#10
Posté 02 janvier 2012 - 06:14
Something like. SetCustomToken(XXX,GetSubString(GetStringByStrRef(54),37,1 ));
#11
Posté 02 janvier 2012 - 07:25
thanks





Retour en haut






