Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Height/Position of text using llSetText

Chicote Pippita
Registered User
Join date: 8 Nov 2006
Posts: 22
04-15-2008 05:16
Is it possible to manipulate the height of displayed text when using llSetText? Specifically, I'd like to have the text hover lower in relation to the prim in which the script is located. I understand it's possible to have the text hover higher (using \n and spaces), but can the text be made to display LOWER?

Thanks!
Xhawkx Holden
Registered User
Join date: 1 Nov 2006
Posts: 86
04-15-2008 05:52
No.. text will only hover over an object. What you COULD do however... is create another object.. Put the text script in this object.. Make it transparent.. and attach it below the primary object.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
04-15-2008 07:23
Note that the base position of the hovering text is just above the positive Z "top" of the prim it is in. That means that, if you turn a cube where the top is on a side, it will appear "in the middle" of the cube, towards that end.

Also, the "fade distance" is based on the maximum dimension of the prim.
Regan Flasheart
Adulterated content
Join date: 25 Nov 2005
Posts: 25
04-16-2008 02:52
You can trick SL into displaying text higher than would normally be possible by changing the cube to sphere, dimpling to 0.4 and 0.6 then changing back to a cube, which effectively has had slices taken from each end. The text is displayed higher because the actual size of the cube is larger than SL displays it. Very handy for titles on pictures etc.

More dimple (or less actual prim thickness) = more offset for a given 'perceived' thickness of cube.