Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How to get key of agent in mouselook?

Rubee Adelaide
Registered User
Join date: 2 Oct 2006
Posts: 15
06-28-2007 17:51
Hi,

When I click on another person in mouselook mode, is it possible to get that avatar's key? (Or is there any other way to 'target' someone and find their key?)

I am trying to use PSYS_SRC_TARGET_KEY to send particles to an avatar, but I can't figure out how to get the avatar's key.

This is similar to a gun, but I don't want to rez any prims. I only want particles.

Thanks!
Rubee
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
06-28-2007 18:47
From: Rubee Adelaide
When I click on another person in mouselook mode, is it possible to get that avatar's key?

No, it is impossible.
From: Rubee Adelaide

(Or is there any other way to 'target' someone and find their key?)

Use llSensor.
_____________________
:) Seagel Neville :)
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
06-29-2007 00:16
You could try a tight / narrow sensor aligned with the avatars rotation?
_____________________
I'm back......
Rubee Adelaide
Registered User
Join date: 2 Oct 2006
Posts: 15
06-29-2007 04:54
Thanks for the suggestions! I'll give it a try.

It's so disappointing that there isn't any way to target someone.
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
06-29-2007 07:38
"Shooting" a projectile would work also, and may be easier than trying to make a sensor be aligned correctly. You should be able to very easily find a gun script, to shoot a projectile.. then just make that projectile llOwnerSay the key of any avatars it collides with.