Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How to obtain the text above an object?

Wezza Writer
Registered User
Join date: 9 Jun 2009
Posts: 59
09-07-2009 20:48
Also, the title on an avatar?
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
09-07-2009 22:34
Can't do either via script.
Wezza Writer
Registered User
Join date: 9 Jun 2009
Posts: 59
09-07-2009 23:17
From: Talarus Luan
Can't do either via script.



Thanks Talarus,

How about scanning an area to retrieve info for all objects within certain distance?
EF Klaar
Registered User
Join date: 11 Jun 2007
Posts: 330
09-08-2009 00:13
From: Wezza Writer
Also, the title on an avatar?

The floating text you see above an object can be put there using llSetText. When you see it above an avatar it is because the avatar is wearing an invisible object with the text.

Use llSensor to scan for objects.
Wezza Writer
Registered User
Join date: 9 Jun 2009
Posts: 59
09-08-2009 02:47
From: EF Klaar
The floating text you see above an object can be put there using llSetText. When you see it above an avatar it is because the avatar is wearing an invisible object with the text.

Use llSensor to scan for objects.


thanks EF.
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
09-08-2009 18:25
From: EF Klaar
When you see it above an avatar it is because the avatar is wearing an invisible object with the text.

Unless what you mean is the av's active group tag .... that's determined by whoever set up the group.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Wezza Writer
Registered User
Join date: 9 Jun 2009
Posts: 59
09-09-2009 01:12
From: Rolig Loon
Unless what you mean is the av's active group tag .... that's determined by whoever set up the group.


Yes, and I want to capture those text!
EF Klaar
Registered User
Join date: 11 Jun 2007
Posts: 330
09-09-2009 02:48
From: Wezza Writer
Yes, and I want to capture those text!
llDetectedGroup and llDetectedName can do this during a collision, touch or sensor event.
[EDIT]
That's not quite right is it? llDetectedGroup will return the group name, not the active tag. I don't know how to do that.
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
09-09-2009 04:06
From: Wezza Writer
Yes, and I want to capture those text!

No can do. You need to be a member of the group to wear its tag. Of course, you can always find a friend (or an alt), pay the L$100, and create your own group. Then you can give yourself whatever tag you want, including one that is identical to another group's tag.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
09-09-2009 13:29
neither of those texts are available via script, though a modified client could grab either (and possibly pass it off to the script)

exception: if you are the one setting the objects hovertext, you can store the value when you set it
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -