Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Fetching the description from a detected object?

Aaron Levy
Medicated Lately?
Join date: 3 Jun 2004
Posts: 2,147
12-20-2004 00:49
Is there any way to fetch the description of a detected obect, like you can the name, key, etc?
Siobhan Taylor
Nemesis
Join date: 13 Aug 2003
Posts: 5,476
12-20-2004 02:01
Onde you have its key, from llDetectedKey() you can then use this to call llGetObjectDesc().
_____________________
http://siobhantaylor.wordpress.com/
Moonshine Herbst
none
Join date: 19 Jun 2004
Posts: 483
12-20-2004 02:07
I think you are wrong, Siobhan.

I believe llGetObjectDesc can't take a key as a parameter, and only returns the description of the object that has the script that is calling llGetObjectDesc.

Untested though, so i may very well be wrong.
Siobhan Taylor
Nemesis
Join date: 13 Aug 2003
Posts: 5,476
12-20-2004 02:14
Ah you're right, sorry...
_____________________
http://siobhantaylor.wordpress.com/
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
12-20-2004 04:41
This kind of problem is endemic in LSL. The object-centric paradigm has always crippled our creativity and LSL's performance.
We can NEVER "fetch" ANYTHING without first having to set up a stupid sensor and then we are restricted to 16 objects / people, and a 96m radius. And then you can only really know what llDetected* gives you.