Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

quick question about collisions

Alias Jensen
Monkey with keyboard
Join date: 17 Jun 2004
Posts: 29
11-08-2004 18:03
Im trying to get the name of the person who owned the bullet which hits the object and I can't seem to be able to figure out how to convert the key from llDetectedOwner to a normal usable name.
I'd think that
CODE
string obOwn =  llGetOwnerKey(llDetectedOwner(0));


should return it ... but it doesnt....

any advice would be appreciated.

-alias.
Ace Cassidy
Resident Bohemian
Join date: 5 Apr 2004
Posts: 1,228
11-08-2004 18:23
You want to use llKey2Name() to turn the llDetectedOwner()'s key into a name.

- Ace
_____________________
"Free your mind, and your ass will follow" - George Clinton
Alias Jensen
Monkey with keyboard
Join date: 17 Jun 2004
Posts: 29
11-08-2004 18:25
That'll do the trick.

thanks bunches!