|
Jim Gustafson
Registered User
Join date: 6 Feb 2007
Posts: 84
|
04-17-2007 04:06
Hi there,
I already searched the Wiki but there seems to be no method to get the ID for an avatar where you just have the name? Maybe i have overseen something here?
llKey2Name() works the other way around, what I'm looking for is something like llName2Key().
Jim
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-17-2007 04:13
From: Jim Gustafson Hi there,
I already searched the Wiki but there seems to be no method to get the ID for an avatar where you just have the name? Maybe i have overseen something here?
llKey2Name() works the other way around, what I'm looking for is something like llName2Key().
Jim Not with SL supplied tools. The only possible approach is a look up on an external key to name database. try W-hat.com's name 2 key database
|
|
Gearsawe Stonecutter
Over there
Join date: 14 Sep 2005
Posts: 614
|
04-17-2007 04:34
there is a non-scripting way. but this is probably not what you want. Open the Debug Console (ctrl-shift-4). Search for the persons name then start an IM session. when the session starts you should see a line that pops up on the screen like....
2007-04-17T23:25:40Z INFO: LLIMView::createFloater: from db6ac7f0-856a-4f55-b44b-77c842d5ed5e in session 623a1997-13f8-09a7-0a71-7937651f7a7d
the first UUID is their key. Makes you wonder why there is not a scripting method. unless there is some fear of data base issues.
|
|
Jim Gustafson
Registered User
Join date: 6 Feb 2007
Posts: 84
|
04-17-2007 05:40
From: Gearsawe Stonecutter there is a non-scripting way. but this is probably not what you want. Not what I wanted, but good to know  Thanks Jim
|
|
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
|
04-17-2007 06:35
The closest thing scripting-wise I can tell ya is the llDetected functions.
The downside is that they would have to be in the sim for it to return their key, but you could use things like sensors, etc, and the llDetectedKey() will tell you their key.
|