|
Chri5 Somme
:)
Join date: 18 Nov 2005
Posts: 204
|
11-11-2006 11:22
Has anyone else noticed that llKey2Name won't convert an avatar's key to a name if that avatar is offline? Example to test the bug: default { state_entry() { }
touch_start(integer total_number) { llSay(0, llKey2Name("insert your avatar key here")); } }
While the avatar is online, it will convert the name. While the avatar is offline, if anyone tries to use it, it will return nothing.
|
|
Chri5 Somme
:)
Join date: 18 Nov 2005
Posts: 204
|
11-11-2006 11:27
n/m my bad, lsl wiki said it only works while the avatar is in the sim.
|
|
Raeyan Aldrich
Registered User
Join date: 14 Oct 2006
Posts: 44
|
11-11-2006 19:00
yes key2name only works if the avatar is in the same sim as the script, what you want is llRequestAgentData() and a subsequent dataserver event handler http://lslwiki.com/lslwiki/wakka.php?wakka=dataserver
|