Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Float Text Offset

grumble Loudon
A Little bit a lion
Join date: 30 Nov 2005
Posts: 612
10-31-2006 13:55
The float text offset seems to use the prim’s Z scale regardless of the prim rotation.

I figured I should post the question here before updating the wiki.

Me and a friend are trying to make a single prim texture viewer.
So far we have it so that you can click, hold and drag to scroll threw the numbers and names and it then updates the texture when you release. You can also just click on it to advance one image.

The problem is that the float text appears in the center of the image and adding multiple “space \n” only makes it float above it at a specific camera distance.
Thraxis Epsilon
Registered User
Join date: 31 Aug 2005
Posts: 211
10-31-2006 16:09
you could use the dimple trick to cut the cube in half, rotate it so the "middle" edge is on the top, adjust size so it's a square and voila... Float Text always on top of a single prim texture viewer.
grumble Loudon
A Little bit a lion
Join date: 30 Nov 2005
Posts: 612
11-01-2006 15:36
Thanks, I'll try that


Edit: She just IM'ed me back saying that the top is flat since it's dimpled.

I want a picture frame look.

Dimpling would make for a nice book since it gives two seperate texure surfaces.

Maybe I should just drop the frame and make it more of a book feel.
LaserFur Leonov
Registered User
Join date: 16 Jan 2006
Posts: 18
11-01-2006 16:02
Grumble… You would not finish anything if weren’t for people like me to finish your projects.

The book concept is a better one since the goal was to allow for more images in your gallery.

The really great part of my new script is that you can click and drag the mouse right and left across the image to scroll threw many pages at a time.

Up and down could even be used for chapters.

It takes advantage of the way that you can drag objects and get the drag offsets even if llSetStatus(STATUS_BLOCK_GRAB, TRUE) is set.
Stephen Zenith
Registered User
Join date: 15 May 2006
Posts: 1,029
11-01-2006 16:15
Another way to do it is to create another prim, totally invisible, and use llSetText on that instead. Link it to your main prim, and communicate with it via link messages.

That way, you can position the hover text wherever you like by moving the invisible prim.