For instance now I am using
s = "mytext"+"more text"+more text"
the result would be: mytextmoretextmoretext
but I would like the result to be:
mytext
moretext
moretext
Thanks for any help!!!
Modifié par nwnsmith, 24 mars 2012 - 01:42 .
Modifié par nwnsmith, 24 mars 2012 - 01:42 .
henesua wrote...
if only that would work with all text in NWN.... Or does it?
Modifié par GhostOfGod, 27 mars 2012 - 10:52 .
GhostOfGod wrote...
It does work if scripted.
SetName
SetDescription
SendMessageToPC
FloatingTextStringOnCreature
If you needed to use the "n" via the OnChat event you have to replace it with itself in the script via string parsing or it will just literally use n instead of a new line.
And while unnecessary you can also set a custom token to "n" and use it in conversations and journal entries.
P.S. t and b do not seem to work anywhere.
Modifié par Lightfoot8, 27 mars 2012 - 11:42 .