wrable Amat Posted April 14, 2012 Share Posted April 14, 2012 heads up ,for some reason if you use Key2Name and the AV key you use is offline it can not find their name to say or text it.Never did this before today.. Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted April 14, 2012 Share Posted April 14, 2012 That's to be expected - it says in the wiki that it only works if the "... avatar key, present in or otherwise known to the sim in which the script is running" Link to comment Share on other sites More sharing options...
conrad Evanier Posted April 14, 2012 Share Posted April 14, 2012 It must of done it before today as this is how the function works lol when compiling a script hover over the functions and you will get a lil clue of what they do If you need to get a name from a key of an avi out of sim you need to call the dataserver event with something like llRequestAgentData( user_key, DATA_NAME); Or if they are there to grab the name from with touch,collision or sensor then use llDetectedName(0) string name = llDetectedName(0) or something like that Link to comment Share on other sites More sharing options...
Innula Zenovka Posted April 15, 2012 Share Posted April 15, 2012 According to the wiki, In the case of an avatar, this function will still return a valid name if the avatar is a child agent of the sim (i.e., in an adjacent sim, but presently able to see into the one the script is in), or for a short period after the avatar leaves the sim (specifically, when the client completely disconnects from the sim, either as a main or child agent). Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now