Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

When did this become possible?

Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
10-21-2009 06:28
Probably everyone knew this but me, but. to my surprise, I today discovered that you can use carriage return rather than \n to start in new line in llSetText.
CODE
llSetText("this is one line 
and this is another", < 1.0,1.0,1.0 > , 1.0);
does almost the same as
CODE
llSetText("this is one line \nand this is another", < 1.0,1.0,1.0 > , 1.0);
The only difference is that the text is left-justified when you use the carriage return.

When did this start? The person who told me swears she's been using it for over a year. Any other interesting new developments I should know about?
Paladin Pinion
The other one of 10
Join date: 3 Aug 2007
Posts: 191
10-21-2009 09:14
I don't know when it started, but it's listed in the wiki as an alternative.
_____________________
Mote Particle Script Generator - easier and faster than any HUD
Also: Paladin's Sunbeam. Up at dawn, gone by dusk, day and night sounds, fully configurable
See more at: www.paladinpinion.com
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
10-21-2009 09:33
That is... evil. If I found a program doing that I would change it back pronto.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
10-21-2009 09:33
From: Argent Stonecutter
That is... evil..

Seconded.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Indeterminate Schism
Registered User
Join date: 24 May 2008
Posts: 236
10-21-2009 13:17
I *think* I remember this from at least two years ago; LSL has always allowed embedded characters of all sorts, including CR/lF. It's noted under the information for the string data type and I believe it was in the very ropey documentation that downloaded with the viewer all that time ago. http://wiki.secondlife.com/wiki/String
jeaniesing Trilling
Loves to animate & script
Join date: 21 Oct 2006
Posts: 61
10-22-2009 18:22
as long as I have been scripting it has worked,m but it does not CENTER accurately... and it drives me absolutely nuts when I see it
_____________________
Pinastri/113/171/30