Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

help with llsettext on diff lines

Bizcut Vanbrugh
Registered User
Join date: 23 Jul 2006
Posts: 99
04-27-2007 09:02
ok i know already i am dumb as a box of rocks when it comes to scripting and what little i know gets me into more trouble that it gets me out of usualy but i am trying to get information from multiple intergers and out put that to lines of hover text i know that you use the\n to get new lines but i am just not sure how to make it work in the line for llsettext

can some one help point me in the right direction ?
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
04-27-2007 09:12
I have not use \n in llSetText for a while - but I think it works if you put a space either before, after, or around the \n. So, surrounding the \n with spaces looks like this:

Line 1 \n Line 2 \n Line 3
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
04-27-2007 09:43
I've not had any issues putting in newlines with spaces or text on any/all sides.

From testing, this works fine:

llSetText("Line 1\nLine 2\nLine 3",<1.0,1.0,1.0>,1.0);