Codswallop Cassidy
Registered User
Join date: 30 Dec 2003
Posts: 53
|
06-27-2004 04:21
I suspect I'm giving it the wrong key since I'm getting incorrect results in another part of the script but I'm using llGetAnimationList(llGetPermissionsKey()); to get the key of the avatar calling the script (not the owner). I couldnt figure out or find the right function to call just to grab the key of an avatar who is not the owner, the agent functions dont return keys so is there something else I should be using? oh I know some events pass it in and others not.. this is a not 
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
06-27-2004 18:31
Have you successfully requested permissions? llGetPermissionsKey() returns the key of the avatar for which permissions are enabled, and NULL_KEY if permissions are not enabled for anyone. llGetAnimationList(blah) returns a list of the keys for all animations the avatar with key "blah" is currently playing. You can also grab people's keys by using money events, sensors, collisions, touches and listeners.
|